我是公司Facebook页面的管理员。我正在尝试使用Graph API获取Facebook页面的所有广告。我使用的访问令牌具有以下权限:
如何获得广告帖子下方的评论?
这是我使用Graph API尝试的内容:
my_page_ID/ads_posts
我得到的是这个:
{
"data": [
{
"created_time": "2020-03-26T14:42:38+0000",
"message": "We have the best price. Please come to us!",
"id": "4353425346_5634563463622263"
},
{
"created_time": "2020-03-26T12:28:35+0000",
"message": "This is some add",
"id": "65464567_687456456"
},
{
"created_time": "2020-03-26T12:19:34+0000",
"message": "This is the message of the ad.",
"id": "123456789_463456534623"
},
{
"created_time": "2020-03-20T08:06:44+0000",
"id": "34534588605_358563733107"
},
{
"created_time": "2020-03-20T08:06:44+0000",
"id": "388533217888605_3586754538066441"
},
{
"created_time": "2020-03-20T08:06:44+0000",
"id": "34353417888605_5844534530"
},
{
"created_time": "2020-03-20T08:06:44+0000",
"id": "38854535405_230852376563421"
},
{
"created_time": "2020-03-20T08:06:18+0000",
"id": "382342345605_358677843899"
我不明白的地方:
为什么大多数字段为空?我是不是……错误?我需要更多权限吗?
我如何检索all个广告帖子,而不仅仅是几个?
我如何检索这些帖子下方的用户评论?
希望您可以帮助我。
轻松自如!
/{page-id}/ads_posts?include_inline_create=true
包括所有广告帖子(深色帖子)