Facebook FQL is deprecated, but there's no way to directly get friend_count with Graph API? -
Facebook FQL is deprecated, but there's no way to directly get friend_count with Graph API? -
using fql can friend count of user with:
select uid,friend_count user uid in (<list of user ids/>)
but looks graph api, have create requests until pagination runs out, , count how many results returned using like:
array( 'method' => 'get', 'relative_url' => 'me/friends?access_token='. $token )
i tried using
array( 'method' => 'get', 'relative_url' => 'me/friends?summary=true&access_token='. $token )
but didn't work. there single graph api request can user's friend count? if not, how create feature request?
facebook implemented feature graph api since release of v2.1:
/friends border on user object provides access total friend count. retroactively supported in v2.0 well.
graph-api-v2.1
facebook-graph-api facebook-fql
Comments
Post a Comment