Patrick, thanks. That did it. Tom Evslin blog: blog.tomevslin.com novel: hackoff.com latest: The Interpreter's Tale
-----Original Message----- From: opensocial-api@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Patrick Horn Sent: Friday, November 09, 2007 3:16 AM To: OpenSocial Developers Subject: [opensocial] Re: authenticating in javascript It's incredibly picky... You forgot the ending slash after feeds. You need: scope = "http://www.google.com/calendar/feeds/"; What I really would like is an authoritative listing of all the possible AuthSub scopes, especially as more sites start using the People Data API, etc. -Patrick On Nov 7, 9:12 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > trying to get google calendar information so attempted authentication > in js as follow: > > function logMeIn() { scope = "http://www.google.com/calendar/feeds"; > var token = google.accounts.user.login(scope);} > > which is straight from the calendar api examples. > > instead of expected authentication page, google error page comes up > with message > > "The page you have requested cannot be displayed. Another site was > requesting access to your Google Account, but sent a malformed > request. Please contact the site that you were trying to use when you > received this message to inform them of the error. A detailed error > message follows: > > The "scope" parameter was bad or missing." > > Can retrieve calendar feeds which don't require authentication. Is > there a way to authenticate in an opensocial using the js interface > for feeds which require that? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenSocial Developers" group. To post to this group, send email to opensocial-api@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/opensocial-api?hl=en -~----------~----~----~----~------~----~------~--~---