我可以使用 Facebook 图形 API 搜索某个地点的签到次数吗?
我已通读图形 API 文档,并尝试了以下查询:
curl https://graph.facebook.com/search\?type\=checkin\& ;place.name\=Dante+Coffee\&access_token\=...
access_token 有效。但它没有显示这样的内容:
{“数据”:[]}
我想我只有权限访问此 access_token 的所有者发送的签入。由于我从未签入过这个地方,因此我从该查询中得到的数据为零。但是是否可以通过 Facebook Graph API 获取带有地名的签到总数?
I have read through graph API document, and tried the following queries:
curl https://graph.facebook.com/search\?type\=checkin\&place.name\=Dante+Coffee\&access_token\=...
The access_token is valid. But it shows nothing like this:
{"data":[]}
I guess I only have the permission to access checkins sent from the owner of this access_token. And since I have never checkin this place, I got zero data from this query. But is it possible to get the total number of checkins with a place name by Facebook Graph API?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尽管FB 文档说签到是可搜索的,
/search? q=woolwich&type=checkin
给我一个错误(#615) 签入表不支持搜索。
。但是 Places 是可搜索的,并且 Place 对象有一个
checkins
字段(请参阅/205142516170657?fields=checkins
) - 这应该会给你你想要的。Although the FB docs say that Checkins are searchable,
/search?q=woolwich&type=checkin
gives me an error(#615) The checkin table does not support search.
.But Places are searchable and the Place object has a
checkins
field (see/205142516170657?fields=checkins
) - this should give you what you want.