如何获得og_object或共享网址的Facebook帖子?

时间:2016-02-19 11:48:21

标签: facebook-graph-api

博客网站上的文章发布在多个Facebook页面上,我需要获取包含特定文章网址的facebook帖子网址列表。

可以使用此请求通过文章网址获取og_object详细信息:

https://graph.facebook.com/v2.5/?id=http://spoilednyc.com/2015/02/10/16-bucket-list-must-dos-real-new-yorkers&access_token=ACCESS_TOKEN

结果将是:

 "og_object": {
"id": "794284920664423",
"description": "New York City has so much to offer beyond the attractions most known to tourists. Want to go off the beaten path, here are some suggestions for you.",
"title": "Beyond the Tourist Attractions: 16 Bucket List Must-Dos for 'Real' New Yorkers",
"type": "article",
"updated_time": "2016-02-19T11:21:26+0000",
"url": "http://spoilednyc.com/2015/02/10/16-bucket-list-must-dos-real-new-yorkers/"
},
"share": {
"comment_count": 0,
"share_count": 15247
},
"id": "http://spoilednyc.com/2015/02/10/16-bucket-list-must-dos-real-new-yorkers"
}

从这一点来说,我可以找到一个使用

的评论列表
https://graph.facebook.com/v2.5/794284920664423/comments/?access_token=Access_Token

有没有办法通过og_object id以类似的方式获取Facebook帖子或后ids?

0 个答案:

没有答案