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.
0 comments:
Post a Comment