I am working on a simple email importer script. From what posts on this site have said, the ones that are for sale are either dodgy, or not worth the money spent, and as I know PHP and JS I thought this can’t be hard, after all I have worked with Twitter API, and Facebook API.
However I seem to ran into a little bump in the road.
You see I am using Yahoo’s very own script Yahoo.inc – http://developer.yahoo.com/social/sdk/php/
And all is going well as possible. However when I try to get the contacts I seem not to be able to. Now I have in the API settings for my app, ask for read request for contacts so I know it not that issue.
Here is my code I am using
$contacts = $user->getContacts();
However it seems not work work, it’s like I am missing something. What is the correct way to get emails from the getContacts function Yahoo offers?
instead of the getContacts(), you can use a yql query for that: