Facebook 页面 - 通过 Graph API 获取帖子反馈和印象
I'm trying to get some insights on a list of Posts by a Page on Facebook.
To be specific, I want to get the information highlighted in this blog post via the API.
But I can't figure out how, anyone knows how?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
据我所知,只能使用“流”表。所以你必须使用 FQL 来查询这些数据。使用这种技术,您只能直接获得印象。反馈率可以通过添加 #comments 和 #likes 并将结果除以 #impressions 来计算。希望他们也将其添加到见解图 api 中。
As far as I know it's only possible using the "stream" table. So you've got to use FQL to query this data. Using this technique you'll only get the impressions directly. Feedback rate can be calculated by adding #comments and #likes and dividing the result by #impressions. Hope they'll add this to the insights graph api as well.
MartinHN
参考 https://developers.facebook.com/docs/reference/api/# 如果您
尝试聚合多个页面或请求应用程序之外的页面,那么您可能需要向您的应用程序授予 read_insights 权限。
请参阅 http://developers.facebook.com/docs/reference/api/insights/
MartinHN
Refer to https://developers.facebook.com/docs/reference/api/#analytics
If you are trying to aggregate multiple pages or a page other than the requesting app then you may need grant read_insights permissions to your application.
Refer to http://developers.facebook.com/docs/reference/api/insights/