我可以使用 Facebook 图形 API 搜索某个地点的签到次数吗?

发布于 2025-01-08 16:41:41 字数 436 浏览 2 评论 0原文

我已通读图形 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

巷子口的你 2025-01-15 16:41:41

尽管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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文