Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试检索 metrics或以 a 开头的任何内容,post_impressions_unique但Facebook 总是为我返回空数组。post_consumptionspost
post_impressions_unique
post_consumptions
post
有人知道这里有什么问题吗?
你确定你有正确的权限吗?
您需要 read_insight 权限才能使用 fql 或图形 api 查看展示次数。
这里有更多信息Facebook 开发者指南
除了需要 read_insights 权限外,此信息仅适用于您的页面发布的帖子,因此请检查您是否确实检查了正确的帖子
确保传入帖子的整个对象 ID。它将采用 pageid_postid 格式(例如 24379523495_8924592457245),您需要用单引号将其括起来 - 否则您将收到有关意外下划线的错误。