I'm using the GData Calendar API to get a feed from an account in a
domain hosted by Google.
When I do this I'm getting a ResourceNotFoundException. I guess this
is due to using the wrong URL. Can anyone point me to docs on the
correct path for hosted domains accessed via the GData API?
Here's a sample of my code. This works fine if I use a "gmail.com"
account.
----------------------------------------
// Set up the URL and the object that will handle the connection:
URL feedUrl =
new
URL("http://www.google.com/calendar/feeds/[EMAIL PROTECTED]/private/full");
GoogleService myService = new GoogleService("cl", "company-app-1");
myService.setUserCredentials("[EMAIL PROTECTED]", "password");
// Mark the feed as an Event feed:
new EventFeed().declareExtensions(myService.getExtensionProfile());
----------------------------------------
I would expect the URL to include "hosted/example.com", but that
doesn't work either.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---