grupovisi narios - 2014-06-11 22:48:04 -
In reply to message 2 from Manuel Lemos
Thanks, if it worked =)
But now I have another problem. I want to get the profile image of contacts a user after authenticating the API. This is my code ...
$client->scope = 'wl.basic wl.offline_access wl.signin wl.emails wl.contacts_photos';
if(($success = $client->Initialize()))
{
if(($success = $client->Process()))
{
if(strlen($client->authorization_error))
{
$client->error = $client->authorization_error;
$success = false;
}
elseif(strlen($client->access_token))
{
$success = $client->CallAPI(
'https://apis.live.net/v5.0/me/friends',
'GET', array(), array('FailOnAccessError'=>true, 'is_friend'=>true), $user);
}
}
$success = $client->Finalize($success);
Only returns me the ID and NAME of the user's contacts = (.'ve Researched on this page "http://technet.microsoft.com/es-es/sysinternals/hh243646 # wlsignin".
I added: wl.offline_access wl.signin wl.contacts_photos
I added: / me / friends
And still does not return the profile picture of the user's contacts.
I am no expert. Can you help? Please