How to read Gmail contacts using Zend Framework using oAuth
I am done开发者_如何学Go with oAuth with Google using Zend Framework. For now i am reading user google DOCs only. How can i read Gmail contacts using Zend Framework withour asking username and password.
Thank You a lot.
I dont think there is any straight forward way to do that. You can try this solution. But this uses username & pwd. You can refer to this Calendar example for how to authenticate using both ways.
oAuth is about authentication, so you will have to authenticate providing credentials.
Authentication is not possible without username and password.
However, you can use API to access the data:
- http://code.google.com/intl/en-US/apis/contacts/
- http://googledataapis.blogspot.com/2008/03/3-2-1-contact-api-has-landed.html
精彩评论