The new settings feed has a URI of the form:

http://www.google.com/calendar/feeds/userId/settings

which brings up an old issue: how to get the userId for the currently
logged-in user. You can do this in a somewhat hackish way by fetching
the metafeed and stripping the user id off the end of the first
calendar's id, but this approach (a) is ugly and (b) gives you the
user's primary account name, not the account name they used to log in,
which may in fact be what you want.

is there an elegant way to get the userId of the currently logged-in
user?

Thanks,
Charlie


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