Google Contacts Data API and PHP
I am developing a PHP application to fetch a contact list from a GMail account. I'm looking for a solution that will allow the user of my app to provide a username and password for a Gmail account in my app (as opposed to being redirected to google) and then automatically search. The search process can be run in PHP or JavaScript (which will then forward the contact list to PHP using Ajax).
Can this be done? Which JavaScript API should I use for this? Can anyone point me to the correct chapter in the Google Contacts Data API documentation?
a source to share
This is really not recommended - google provides OAuth for a reason, so users don't have to give their credentials to third parties.
Check out http://code.google.com/apis/accounts/docs/OAuth.html
Speaking only to myself (and all other developers I know), giving my credentials to third parties is a real no-no.
a source to share
I haven't tested it myself, but it looks pretty good: http://gmail-lite.sourceforge.net/wordpress/
// edit: You should probably use: http://code.google.com/apis/contacts/
a source to share