Facebook Graph API - Finding a users top friends

后端 未结 6 1933
不思量自难忘°
不思量自难忘° 2020-12-13 03:08

I am writing a android app that will pull in a list of all the users friends so they can tag them in the photo but displaying a large box of the friends with their photo ins

6条回答
  •  囚心锁ツ
    2020-12-13 03:34

    If you watch the network traffic from Facebook's iPhone app, you can see they make this FQL call to get the users top 10 friends they communicate most with:

    SELECT uid2, communication_rank   
    FROM friend where uid1 = me() 
    ORDER BY communication_rank DESC LIMIT 10
    

    Unfortunately this is not available to applications by default. You would need to contact a Facebook engineer to get this field enabled for your application.

提交回复
热议问题