Hi,

I have been trying to use Java's Client Library with ClientLogin to
open the Google Calendar nested in a web browser within an installed
app. However, I keep getting a 401 Authorization error.

Here is the authentication I use, that works with my test drivers:

                userCalendarService = new CalendarService("zzzz-yyyy-2");
                        userCalendarService.setUserCredentials(email, password);

However, when I try to display the Calendar page within a web browser
programmatically, I get a 401 error. I have tried to open many
different URLs in the web browser, including those specified on the API
pages:

http://www.google.com/calendar/feeds/default/private/full
http://www.google.com/calendar/feeds/[EMAIL PROTECTED]/private/full
http://www.google.com/calendar/feeds/[EMAIL PROTECTED]/private-MAGICCOOKIE/full

(I have tried with /basic ending the URLs as well, but it is a R/W feed
that I would like access to in order to push events onto the Calendar.)

When I sign in to my account manually, these URLs will then give me an
XML page, but not the actual graphical version I was hoping for...

Plus signing in manually is not what I want the user to have to do. I
would like the authentication to happen, and the Calendar to appear in
the nested web browser window.

If anyone could throw me a bone here, I'd be in your debt.

Cheers,

Taivo Evard


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

Reply via email to