Using Google's Contacts API's, how can I get the user's name and gmail address?

Posted by chris on Stack Overflow See other posts from Stack Overflow or by chris
Published on 2009-11-25T08:25:14Z Indexed on 2010/06/14 13:32 UTC
Read the original article Hit count: 164

Filed under:
|
|
|

I know how to get the entire contacts list using Google Contacts API (I get a session token and use Google's Zend package for PHP).

But how can I get the person's name and email address? Currently, the Contacts API just seems to give all of the contacts. I'm not sure how to distinguish which email and name out of that list corresponds to the user's account.

Is there an easy way to get the user's full name and email address?

Any help would be useful. Thanks!

© Stack Overflow or respective owner

Related posts about php

Related posts about zend-framework