Facebook Graph API返回空数据集 [英] Facebook Graph API Returning Empty Data Set
问题描述
我正在尝试使用Graph API Explorer为我的应用创建访问令牌,以使用我/帐户"查看我的页面.但是,每次尝试此操作时,它都会返回一个空数据集.我选择了manage_pages作为权限,但仍然无法正常工作.不检查任何其他权限,我就可以查看我/喜欢",我/电影"等.我不知道自己在做什么错.
I am attempting to use the Graph API Explorer to create an access token for my application to view my pages using 'me/accounts'. However, every time I try this, it returns me an empty data set. I have chosen manage_pages as a permission and it still doesn't work. Without checking any other permissions, I am able to view 'me/likes', 'me/movies', etc.. I have no idea what I am doing wrong.
这就是我在做什么:
https://developers.facebook.com/tools/explorer/
- 从下拉菜单中选择我的应用程序.
- 点击获取访问令牌" >>检查管理页面" >>获取访问令牌
- 提交获取/me/帐户"
我得到了:
{
"data": [
]
}
我已经通过十几个不同的google搜索来找到我的问题的答案,并且已经尝试了一切,包括创建用户令牌和应用程序令牌.任何帮助将非常感激.谢谢!
I have been through a dozen different google searches for an answer to my problem and have tried everything, including creating user tokens and app tokens. Any help would be much appreciated. Thanks!
更新13/6/27 我尝试了一些资源,据说其中也包括publish_stream作为许可.仍然没有成功.另外,有人建议这可能是一个限制问题,但是我的应用没有任何限制(默认13+除外).
UPDATE 6/27/13 I found a couple of resources that say to include publish_stream as a permission as well, which I tried. Still no success tho. Also, somebody had suggested that it might be a restrictions problem, but my app has no restrictions(except the default 13+).
推荐答案
还要注意,需要启用一个新的用户权限read_insights
,否则,读取任何/insights
边缘将以空响应静默失败.
Also note there is a new User permission, read_insights
, which needs to be enabled, otherwise reading any /insights
edge will fail silently with empty response.
这篇关于Facebook Graph API返回空数据集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!