https://developers.facebook.com/docs/graph-api/reference/v2.8/object/likes
total_count property: Total number of people who liked. This is only returned when the flag summary=true is set.
I am wondering where to set summary=true
I am using FB node module
Following is my code snippet
FB.api('xxxxx', {
fields: ['id', 'name', 'likes', 'checkins', 'talking_about_count'],
access_token: accessToken
}, function(res) {
console.log(res);
});
You can use the fan_count
field of the Page
object.
See
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With