I'm using the Javascript API and am trying to create simple app to
edit an event.

I am able to get a list of calendars to display by using

var CALENDAR_FEED_URL = "http://www.google.com/calendar/feeds/default/
owncalendars/full";
token = google.accounts.user.login(CALENDAR_FEED_URL);
var query = new google.gdata.calendar.CalendarEventQuery
(CALENDAR_FEED_URL);
service.getEventsFeed(query, loadCalendarListResults, handleGDError);

I can also load events using:   (### is the calendar ID)
var calendarURL = "http://www.google.com/calendar/feeds/###
%40group.calendar.google.com/public/full";
var query = new google.gdata.calendar.CalendarEventQuery(calendarURL);

But when I change the above URL to /private/full (so I can edit the
events) I get this:
I get this:"Root cause: HTTP error 400 with status text of: Request
via script load timed out. Possible causes: feed URL is incorrect;
feed requires authentication"

If I try to log in using the above /private/full URL, then loading the
calendar list with ".../default/owncalendars/full" fails

What am I missing here?  How do I login so that I can get access to
both feeds at the same time?

Thanks,
Dave DeGroote


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