Facebook 关于帖子的见解
我正在尝试检索指标 post_impressions_unique
、post_conclusions
或以 post
开头的任何内容,但 Facebook 总是为我返回空数组。
有人知道这里有什么问题吗?
I am trying to retrieve metrics post_impressions_unique
, post_consumptions
or anything started with a post
but Facebook always return empty array for me.
Anyone know what is the problem here?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您确定您拥有正确的权限吗?
您需要 read_insight 权限才能使用 fql 或图表 API 查看帖子展示次数。
以下是更多信息Facebook 开发者指南
Are you sure you have the right permissions?
You need read_insight permissions to view post impressions using fql or the graph api.
Here is more information Facebook Developer Guide
除了需要 read_insights 权限外,此信息仅适用于您的页面发布的帖子,因此请检查您是否确实检查了正确的帖子
As well as needing the read_insights permission, this information is only available for posts made by your page, so check you're actually checking the right posts
确保传入帖子的完整对象 ID。它将采用 pageid_postid 格式(例如 24379523495_8924592457245),并且您需要用单引号引用它 - 否则您将收到有关意外下划线的错误。
Make sure you pass in the entire object ID of the post. It will be of the format pageid_postid (eg. 24379523495_8924592457245) and you need to quote it in single quotes - otherwise you'll get an error about an unexpected underscore.