facebook graph api..get friends of friends

Posted by Krishnamurthy on Stack Overflow See other posts from Stack Overflow or by Krishnamurthy
Published on 2011-04-17T04:07:17Z Indexed on 2012/03/20 5:29 UTC
Read the original article Hit count: 234

I am using the FB graph api to get a list of my friends' friends using:

https://graph.facebook.com/<id>/friends?access_token=<token>

Now the weird thing is that this works for some of my friends and does not work for some others. Could somebody tell me why this is happening and a possible fix?

In cases where it does not work, I get the following message: "Can't lookup all friends of YYYYYY. Can only lookup for the logged in user (XXXXX), or friends of the logged in user with the appropriate permission"

And I repeat, I AM ABLE to get friend lists of some of my friends using the above URL. What permissions are being mentioned here?

© Stack Overflow or respective owner

Related posts about facebook

Related posts about graph