I'm using the official Adobe Facebook API in my Flash/AS3 application and for some reason the call the /me/picture
seems to fail whereas the the call the /me/friends
seems to work just fine:
This works OK:
Facebook.api('/me/friends', onFriendsLoaded );
protected function onFriendsLoaded( response:Object, fail:Object ) : void
{
// I can get the friends from the response object
}
This fails:
Facebook.api('/me/picture', onPictureLoaded );
protected function onPictureLoaded( response:Object, fail:Object ) : void
{
// Here response is null and fail is ÿØÿà
}
I'm calling both methods right after each other. What could be the problem?