Hi Kulvinder, Yes, the criteria could be the ETag, however there is a legacy problem with V1 that does not support ETags.
Cheers, Julian. On Oct 6, 9:59 am, Kulvinder Singh <[email protected]> wrote: > Hi, > > The code for GetPhoto method in ContactRequest class checks whether the > PhotoUri is null or not and if it not null then it is downloading the photo. > I have a contact in my gmail which doesnt have a photo and when i download it > using the API, it is having a PhotoUri as not null and the ContactRequest > gives a null stream because an error (404 - Not found) is thrown which is > handled internally by this method. I also checked that the PhotoETag of the > contact was null and it should be the criteria rather than PhotoUri. > > Am i correct ? > > Thanks > Kulvinder Singh --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
