Thanks for your effort Alain.
I am remiss in not properly describing that gadget.
Firstly there is still code there to operate as AuthSub. That is the buttons 
with messages "Authenticate", "do Service setup","do Log In"

To operate as OAuth,  "init", "do Service setup with OAuth", "FetchData" , 
in that order should work.

If 
function doServiceSetupOAuth()
{
 calendarService = 
  new google.gdata.calendar.CalendarService('scbw-calendar-Manager');
 calendarService.useOAuth('google');
 
 contactService =
    new google.gdata.contacts.ContactsService('scbw-contacts-Manager');
 contactService.useOAuth('google');
 
}

function is successful, then I ought to expect "Get Events" to work, and 
"ContactsfetchData()" to work


One thing that I've noticed though is the scope should be:
  https://www.google.com/calendar/feeds
instead of:
  
https://www.google.com/calendar/feeds/XXXXXXXXXXXXg%40group.calendar.google.com/private/full

Yes I've tried both, with no success.


I test the AuthSub functionality by pressing "Authenticate" or "do Log 
In","do Service setup"
and then  "Get Events", and I find that works as expected.
However the exercise is to get this to work using OAuth functions....

Thanks

-- 
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://code.google.com/apis/calendar/community/forum.html

Reply via email to