so, this is probably not throwing on getting the photo, but on getting  
the contact again? but if you already have the contact, why don't you  
use the one you already have?

Frank Mantek
Google

On Jul 14, 2009, at 10:29 AM, Berto wrote:

>
> Hi everyone,
> I've tried to retrieve photo from a contact with this code, as
> described on documentation
>
>            RequestSettings rs = new RequestSettings("Test", "XXX",
> "XXX");
>            rs.AutoPaging = true;
>            ContactsRequest cr = new ContactsRequest(rs);
>            cr.Settings.Timeout = 0;
>            Feed<Contact> f = cr.GetContacts();
>
>            foreach (Contact e in f.Entries)
>            {
>                Stream s = cr.GetPhoto(e);
>            }
>
>            Console.ReadLine();
>
> when I execute Stream s = cr.GetPhoto(e) it throws a
> GDataNotModifiedException because contact is already loaded and not
> modified. How can I retrieve a photo from a contact without a
> contact :| ?? I don't understand how to do this...
> Thx
> Massimo
> >


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to