I'm trying to integrate Picasa support for our online photo printing
service.  I've already gotten authsub to work; I can also download the
thumbnails and actual images already.  My simple question is just this
-- How do I determine the correct URL of the (album/photo) feed given
the person who logged-in via authsub?

In http://code.google.com/apis/picasaweb/gdata.html#Find_URL, getting
a list of albums for a particular user (ex. Liz) looks like this:

http://picasaweb.google.com/data/feed/api/user/liz?kind=album

But how will my code know the Google account id of the who logged in
('Liz' in this case)?  Is there a way to query GData for this info so
I can build the above URL?

In the GData .NET API docs (yes, I'm using .NET), the authsub section
has an example with Google Calendar.  The query code to get the logged-
in user's calendar looks like this:

query.Uri = new Uri("http://www.google.com/calendar/feeds/default/
private/full");
EventFeed calFeed = service.Query(query);

It makes no mention at all on the URI who the authsub/logged-in user
is.  So I assume there must be a way for the system to determine who
the logged-in user is based on the authentication token returned and
passed to 'service'.  Is there a similar "generic" picasa feed uri
that I can use to refer to the "currently logged-in user" without
having to know his/her specific Google userid (like "Liz")?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google 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-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to