使用 Facebook Graph API 获取列表页面签到
当我查看我拥有的页面的页面对象时 ( https://graph.facebook.com/[PAGE_ID ]?access_token=[ACCESS_TOKEN] ),它显示:
{
...
"checkins":4
...
}
直接查看 facebook 页面也显示 4 次签到。
但是,当我尝试使用图形 api ( https://graph.facebook.com/[PAGE_ID]/?fields=checkins&access_token=[ACCESS_TOKEN] ),它显示以下内容:
{
"checkins": {
"data": [
]
}
}
我也尝试使用页面访问令牌,但这也不起作用。
我已启用 user_checkins、friends_checkins 和publish_checkins 权限。
当我将 ?fields=checkins
更改为 ?fields=likes
时,我遇到了同样的问题。
有人可以解释一下这一点,或者告诉我如何获取特定页面的签到列表吗?
When I view the page object for a page I own ( https://graph.facebook.com/[PAGE_ID]?access_token=[ACCESS_TOKEN] ), it shows:
{
...
"checkins":4
...
}
Directly viewing the page on facebook shows 4 checkins as well.
However, when I try and view the checkins field using the graph api ( https://graph.facebook.com/[PAGE_ID]/?fields=checkins&access_token=[ACCESS_TOKEN] ), it shows the following:
{
"checkins": {
"data": [
]
}
}
I also tried using the page access token, but that didn't work either.
I have enabled the user_checkins, friends_checkins, and publish_checkins permissions.
I experience the same problem when I change ?fields=checkins
to ?fields=likes
.
Can anybody shed some light on this, or tell me how to get a list checkins for a particular page?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试像这样访问页面的签到:
以及喜欢:
Try accessing the Page's checkins like so:
as well as likes: