Hi, When a contact has a photo you will get the ETag information, for example: <link rel='http://schemas.google.com/contacts/2008/rel#photo' type='image/*' href='http://www.google.com/m8/feeds/photos/media/domain %40domain.com/e36b8b10a62b1f7' gd:etag='"cgpbOEQkWit7ImA6XUk3ZSl_QFA3G2QgPAQ."' />
In Java call the method: contactEntry.getContactPhotoLink().getEtag(), you will get null or the ETag if the contact has a photo. Cheers, Julian On Oct 27, 12:27 pm, Apps Guru <[email protected]> wrote: > How to I access PhotoETag property - is it in ContactEntry? or an > element in contactEntry.link? > > On Oct 12, 10:01 am, Kulvinder Singh <[email protected]> wrote: > > > > > Check its PhotoETag property. > > > ________________________________ > > From: dflorey <[email protected]> > > To: Google Contacts API <[email protected]> > > Sent: Mon, October 12, 2009 8:42:53 PM > > Subject: [Contacts API] Best way to find out if contact has photo > > > Is there a way to find out if a contact has a photo without trying to > > download the photo? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Contacts API" 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://groups.google.com/group/google-contacts-api?hl=en -~----------~----~----~----~------~----~------~--~---
