Usually one works around this by having the user already be logged into
their site when performing the AuthSub authentication step. It's generally
easier than trying to divine the Google Account e-mail after the fact.

Cheers,
-Jeff

On Mon, Nov 3, 2008 at 9:54 AM, Feris Thia <[EMAIL PROTECTED]> wrote:

> Hi All,
> I have developed my php application using Zend on both client and auth sub
> authentication method. I can get picasa user id and nickname but I cannot
> get email which I'd like to synchronize with my own authentication system.
> How can I do that ?
>
> This is my code snippet using Zend :
> ===========================================
>
> $client = Zend_Gdata_AuthSub::getHttpClient($token);
>
> $picasa = new Zend_Gdata_Photos($client);
>
> $user = $picasa->getUserFeed();
> echo "User : " . $user->getGphotoUser();
> echo "<br/>\nNickname: " . $user->getGphotoNickname();
> echo "<br/>\nThumbnail: <img src='" . $user->getGphotoThumbnail() . "'>";
> ===========================================
>
>
> Thanks,
>
> Feris
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Picasa Web Albums 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-Picasa-Data-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to