I've been successfully using 2-legged OAuth authentication to
authenticate to Google Documents. I've just tried it for the first
time to retrieve the following calendar feed*:  
http://www.google.com/calendar/feeds/default,
so I could get information about all the calendars a user owns.
However, the authentication did not go through (I received a 401
error: unknown authorization header). Is 2-legged OAuth actually
supported for this type of feed? for more details, I am using the Java
client libraries to retrieve this feed, in the following way:

CalendarFeed calendarFeed = service.getFeed(new URL("http://
www.google.com/calendar/feeds/default?xoauth_requestor_id=<my-domain>"));


* I seem to be able to retrieve with no problem the acl feed for the
user's main calendar though
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar Data 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-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to