facebookfbjs

facebook friend list


How can i get the list of my friends friends list using new facebook api. i got the friend list using the below code,

$friends = $facebook->api('/uid/friends');

but i am not able to get friend list if i pass their userid in the same function..


Solution

  • You can't, that's their private data so it's under their control. If they then want the application to have access to it, they would grant permission and it can do so on their behalf.