Thursday, November 7, 2013

How to fetch contacts from yahoo account

4:49 AM

It is been a tough job now-a-days to fetch contact details from yahoo account. I was struggling for days to fetch the emails from my own yahoo account using yahoo api, then after several days finally got the success. So as i was struggling for long, may be possible there are people like me also finding it hard to get emails, so i thought of sharing the whole process here.

Simple steps to fetch contact details

1. Create a yahoo application by visiting http://developer.yahoo.com. Get application ID, its secret key and consumer key. Make sure while creating your application, you provide the correct domain name on which you will use this module.

2. Download the complete working module for this from our git repository. Create a folder named Yahoo, put the repository content in this folder, then put folder Yahoo in your root directory.

Easy so far.

3. Update your application's ID, its secret key, domain name which you specified at the time of creation of your yahoo app, and consumer key in common.inc.php file under email folder.

Done ?

4. Run http://Your_Domain/Yahoo/email/simpleauth.php in your browser.

And we are done, emails of your contacts are on your screen.
If you need complete profile, then uncomment "print_r($profile);" in file simpleauth.php. And fetch whatever you want from this array.

Hope this helped. Thanks. Any query is most welcomed.

Written by

We are Creative Blogger Theme Wavers which provides user friendly, effective and easy to use themes. Each support has free and providing HD support screen casting.

0 comments:

Post a Comment

 

© 2013 Responsive Testing Blog. All rights resevered. Designed by CodeToHack

Back To Top