如何获取特定页面的所有 Facebook 签到? [英] How to get all Facebook check-ins for a specific page?

查看:30
本文介绍了如何获取特定页面的所有 Facebook 签到?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 Facebook 主页,它也是 FB 中的一个地方,因此用户可以在该地方签到(例如使用 iPhone).现在我想从我的页面获取所有签入的用户.但是我总是得到一个空数组,即使有多个用户签入.我正在使用来自 Graph-API 的以下 URI:

https://graph.facebook.com/PAGE_ID/checkins?access_token=ACCESS_TOKEN

对于访问令牌,我创建了一个 FB 应用程序并分配了权限 manage_pages、offline_access、user_checkins 和friends_checkins.

我错过了什么?

解决方案

您做得对.我遇到了类似的问题,几个月前发现了这个错误报告.现已修复.

http://developers.facebook.com/bugs/165533086912181

由于此问题已得到修复,现在应该对您有用.如果没有,您可能想尝试 FQL.您可以通过访问

来通过图形 API 访问它

https://graph.facebook.com/fql?q=SELECT+checkins+FROM+pages+WHERE+page_id=WHATEVER.

I've a Facebook-Page which is also a place in FB, so users can check-in to that place (for example with an iPhone). Now I want to get all the checked-in users from my page. But I always get an empty array, even when several users are checked-in. I'm using the following URI from the Graph-API:

https://graph.facebook.com/PAGE_ID/checkins?access_token=ACCESS_TOKEN

For the access-token I've created an FB-app and assigned the permissions manage_pages, offline_access, user_checkins and friends_checkins.

What am I missing?

解决方案

You are doing it correctly. I was having a similar problem, and found this bug report a few months back. It is now fixed.

http://developers.facebook.com/bugs/165533086912181

Since this has been fixed, it should work for you now. If not, you may want to try FQL. You can access it through the graph API by accessing

https://graph.facebook.com/fql?q=SELECT+checkins+FROM+pages+WHERE+page_id=WHATEVER.

这篇关于如何获取特定页面的所有 Facebook 签到?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆