The App Engine users API is separate from the authorization system
required by Google Data APIs (like picasaweb). A user will need to
authorize your app to access their picasaweb data, so I recommend
using AuthSub. It is still a good idea to have users log in to your
app, because you can then store the long lived AuthSub session token
in the datastore and associate it with the current user. By reusing
the session token, users will not have to go through multiple
redirects to authorize your app each time that you app accesses
picasaweb, the user will just need to do the redirects the first time
they use your app.

Happy coding,

Jeff

On Sep 24, 5:49 am, Yu-Chao Chang <[EMAIL PROTECTED]> wrote:
> I am working on a project on app engine which could let users upload
> photo through the web page in my appspot to their photo album on
> picasaweb. In my understanding, I could user User API to handle the
> authentication on app engine. However, I can't find a way to extract
> or obtain the identity from User API such like user's token or cookie
> in order to query picasaweb. It seems I need to use another API called
> AuthSub and it makes users to do a double login situation.
>
> Perhapes I need to abandon User API and switch to AuthSub purely?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to