Here we can understand how to import Google and Yahoo contacts from there address book via OAuth authorization protocol with PHP. Right Now OAuth is most effective way to communicate with third-party service as API. Google as well as Yahoo also provide us Contact book API service with OAuth authorization.
[Google Contact Import Live Demo] [Yahoo Contact Import Live Demo]
For this application I have created OAuth class for communicate and fetch contacts. Right now I am working to improve this class myself. After complete, I will definitely post source code and example here.