How does one retrieve the email address of a user with GData?

Posted by sblom on Stack Overflow See other posts from Stack Overflow or by sblom
Published on 2010-03-20T18:19:10Z Indexed on 2010/03/20 18:21 UTC
Read the original article Hit count: 316

Filed under:
|
|
|
|

I'm trying to use GData to retrieve the email address, real name, and profile URL of the user that just authorized my site using Google OAuth.

We know how to request it using Google's OpenID flow, but the OpenID flow has the severe limitation that we have to ask for a Google Apps user's domain before we know where to send them to log in. At least using OAuth (or even AuthSub), the user gets prompted for which of their Google accounts to log in.

© Stack Overflow or respective owner

Related posts about google

Related posts about gdata-api