https://developers.facebook.com/docs/graph-api/reference/v2.8/object/likes
total_count属性:喜欢的总人数。只有在设置了flag summary = true时才返回。
我想知道在哪里设置summary = true
我正在使用FB节点模块
以下是我的代码段
FB.api('xxxxx', {
fields: ['id', 'name', 'likes', 'checkins', 'talking_about_count'],
access_token: accessToken
}, function(res) {
console.log(res);
});
答案 0 :(得分:13)