0

Possible Duplicate:
Fetching list of friends in Graph API or FQL - Appears to be missing some friends

I've got 364 friends, but using FB Api to retrieve my friends list (using something like FB.api('/me/friends', function(response)...), Facebook returns me only 362 friends. I don't know why. Any suggestions? Thanx

Community
  • 1
  • 1
Tommy Dee
  • 11
  • 3

2 Answers2

2

Use FQL:

SELECT friend_count FROM user WHERE uid = me();

Replace me() with the FB user id you like.

Here is a Graph API Explorer sample.

oz10
  • 153,307
  • 27
  • 93
  • 128
  • Close, but not really a duplicate. FQL returns correct total friend count, which matches with the number on FB profile. But, the list of friends returned by the Graph API and FQL are the same, and are restricted by the privacy settings. – Ashot Tonoyan Oct 18 '12 at 21:07
1

2 of your friends have different privacy permissions regarding your application's right to find them in search

Yonatan
  • 11
  • 1