Hello,

A contact entry has a photo link that looks like:

<link rel='http://schemas.google.com/contacts/2008/rel#photo' type='image/*'
  href='https://www.google.com/m8/feeds/photos/media/liz%40gmail.com/c9012de'
  gd:etag='"KTlcZWs1bCp7ImBBPV43VUV4LXEZCXERZAc."'>


Using the Zend framework, you should be able to loop through the contact's
link fields and retrieve the one that has a "rel" attribute matching "
http://schemas.google.com/contacts/2008/rel#photo";.

Once you have that, you can send an authorized GET request to the href
attribute of the photo link field, in this case:

https://www.google.com/m8/feeds/photos/media/liz%40gmail.com/c9012de


I hope this helps!
Best,
Alain

On Mon, Jul 11, 2011 at 11:48 AM, gourav <[email protected]> wrote:

> Any bdy know how to retrieve contacts photo through zend framework
>
> --
> You received this message because you are subscribed to the Google
> Groups "Google Contacts, Shared Contacts and User Profiles APIs" group.
> To post to this group, send email to
> [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://code.google.com/apis/contacts/community/forum.html
>



-- 
Alain Vongsouvanh

-- 
You received this message because you are subscribed to the Google
Groups "Google Contacts, Shared Contacts and User Profiles APIs" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://code.google.com/apis/contacts/community/forum.html

Reply via email to