Saturday, 15 August 2015

php - How to get Gmail contacts photo -



php - How to get Gmail contacts photo -

hi have application list out gmail contacts details after login , have written like

$xmlresponse = file_get_contents('https://www.google.com/m8/feeds/contacts/default/full?oauth_token=' . $accesstoken . '&max-results=100'); $xml = new simplexmlelement($xmlresponse); $xml->registerxpathnamespace('gd', 'http://schemas.google.com/g/2014');

and using iam getting hrefs array if given them in src attribute in img tag,they not displaying images.but iam getting name , email correctly

php google-contacts

No comments:

Post a Comment