开发者

How to get popular friends from Facebook API?

开发者 https://www.devze.com 2023-04-12 11:58 出处:网络
I know I can get friends using https://graph.facebook.com/me/friends I also know I can get friends by FQL like so:

I know I can get friends using https://graph.facebook.com/me/friends I also know I can get friends by FQL like so: 开发者_开发问答 SELECT uid,username FROM user WHERE uid IN ( SELECT uid2 FROM friend WHERE uid1 = me() LIMIT 20 ) But what I need is to order these by the friends you interact with most often, i.e. your close friends.

Is this possible?


you could search for the user's defined Lists.. The list "Close Friends" may contain such information though it is manually edited by the user himself (so it might be empty or not accurate)


You would have to build an algorithm out for this yourself involving the several FQL queries (get likes, post comments, common photo tags, etc).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号