获取 Facebook 页面的洞察数据
我想获取 Facebook 页面的见解数据。我尝试过使用以下 url 来使用图形 api:
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。
有没有人帮我解决这个问题。
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
but it gives empty data:
{ "data": [
], "paging": {
"previous": "https://graph.facebook.com/149279625121774/insights/...",
"next": "https://graph.facebook.com/149279625121774/insights/..."
}
}
'149279625121774' is the page id.
Is anybody help me for this.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
更新答案:
Insights
只能以数组形式检索。要阅读Insights
,您需要application_active_users
指标的通用access_token
的通用应用
access_token
该应用的 >Insightsread_insights
权限该用户拥有的所有应用程序、页面和域有关可用见解的更多详细信息,请查看 FQL 见解表
以下是我的评论:
read_insights
权限。/
UPDATED ANSWER:
Insights
can be retrieved only as an array. To readInsights
you needaccess_token
for the publicly availableapplication_active_users
metricaccess_token
for allInsights
for that appread_insights
permissions for all apps, pages and domains owned by this userFor more details on which insights are available please review the FQL Insights table
Here are my comments:
read_insights
permission./
我找到了解决方案。
您必须更改范围参数的顺序:
尝试
而不是
I found the solution.
You must change the order of the scope parameter:
Try
Instead of