获取Facebook页面的见解数据 [英] get insights data of facebook page
本文介绍了获取Facebook页面的见解数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想获得Facebook页面的见解数据。我已经尝试使用这个URL的图形API:
I want to get insights data of a facebook page. I have tried with graph api with this url:
https://graph.facebook.com/149279625121774/insights/?access_token=XXXX
但它提供空数据:
{ "data": [
], "paging": {
"previous": "https://graph.facebook.com/149279625121774/insights/...",
"next": "https://graph.facebook.com/149279625121774/insights/..."
}
}
'149279625121774'是页面ID。
'149279625121774' is the page id.
有人帮我
推荐答案
UPDATED ANSWER:
Insights
只能作为数组检索。要阅读 Insights
,您需要
- 一般的
access_token
用于公开的application_active_users
指标 - 通用应用程序
access_token
所有Insights
为该应用 -
read_insights
权限,该用户拥有的所有应用,页面和域名
- a generic
access_token
for the publicly availableapplication_active_users
metric - a generic app
access_token
for allInsights
for that app read_insights
permissions for all apps, pages and domains owned by this user
有关详细信息,请查看 FQL Insights表格
For more details on which insights are available please review the FQL Insights table
这是我的意见:
- 很可能您没有
read_insights
权限。 - 用户认证的 应该 成为页面的所有者/管理员!
- 删除尾部斜杠
/
- Most likely you don't have the
read_insights
permission. - The user authenticated should be the owner/admin of the page!
- Remove the trailing slash
/
这篇关于获取Facebook页面的见解数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文