Hello everyone
I started a topic on Google Accounts API group, but since the issue is
for a calendar application I'm writting, and noone answered me at the
other group, I'm posting here too. Hope here will have more luck.
I'm trying to get te AuthToken for a user from a hosted domain, to
show his calendars and so, via javaScript api. I'm using this code:
var myService = new google.gdata.calendar.CalendarService('my-
aplication');
var scope = "http://www.google.com/calendar/feeds/";
var token = google.accounts.user.checkLogin(scope);
if (token == ""){
token = google.accounts.user.login(scope);
}
And always get void string while calling
google.accounts.user.checkLogin
What I'm missing?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---