我正在寻找一种方法来使用Facebook Graph API获取帖子(而不是网址)的份额。我能够使用FQL做到这一点,但看到它将在8月份被删除,我正在寻找一种非掠夺方式来实现它。
我是新手,非常感谢任何帮助。我在python上使用图形API。
我看到以下几页:
答案 0 :(得分:1)
在
看看我的回答您应该可以致电
/?fields=id,share,og_object{engagement{count},likes.summary(true).limit(0),comments.limit(0).summary(true)}&id=http://www.google.com
返回类似
的内容{
"id": "http://www.google.com",
"share": {
"comment_count": 2,
"share_count": 31135003
},
"og_object": {
"engagement": {
"count": 31135003
},
"likes": {
"data": [
],
"summary": {
"total_count": 87935,
"can_like": true,
"has_liked": false
}
},
"comments": {
"data": [
],
"summary": {
"order": "chronological",
"total_count": 1323,
"can_comment": true
}
},
"id": "381702034999"
}
}