is it possible to get friend list by uid?
If i have uid of user is there any way to fetch the user list of this user? i tried "SELECT uid2 FROM friend WHERE uid1=UID" but this return permission error.
My purpose is to find out if me and given user has mutual friends of second, third etc. degree.
thank you. Any help will be appreciated开发者_如何学C
You can only retrieve friend lists of users who have authorized your application.
Nope, you can't get users who are not authorized, this will be againts facebook's policy. The only way is to get them to give you offline_access and then you can use them any time through the life time of your application.
精彩评论