Omar AMEZOUG
Omar AMEZOUG

Reputation: 998

Count friends of my friend in facebook using Facebook C# SDK

Is there anyway to just see how many friends that friend has? Example: My Friends - Sylvain (has 300 friends) - Olivier (has 145 friends)

Thanks,

Upvotes: 2

Views: 282

Answers (1)

Tommy Crush
Tommy Crush

Reputation: 2800

This FQL query will get the friend_count field for all the loggedin user's friends.

SELECT friend_count, uid FROM user WHERE uid IN(SELECT uid2 FROM friend WHERE uid1 = me())

Upvotes: 1

Related Questions