查找 Foursquare 场馆长当前是否在该场馆
我正在寻找一种方法来了解 Foursquare 场馆市长当前是否签到。有几个 4sq 应用程序会在您检查时显示市长是否在场馆,但我无法找到如何使用 4sq API 执行此操作。任何帮助将不胜感激。
I am looking for a way to know whether the Foursquare venue mayor is currently checked in. Several 4sq apps show whether the mayor is at the venue when you check i but I am not able to find how to do this using the 4sq API. Any help would be appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
venue 方面 返回一个hereNow 块,其中列出了所有公开分享其活动的人地点。
它还返回一个市长块,列出当前市长的 ID。
这意味着您可以简单地遍历hearNow 列表并查看市长是否出现。简单的!
The venue aspect returns a hereNow block which lists all people who have publicly shared their location.
It also returns a mayor block, listing the ID of the current mayor.
This means that you can simply iterate through the hearNow list and see if the mayor shows up. Easy!