Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在寻找一种方法来了解 Foursquare 场地市长当前是否已签入。当您检查 i 时,几个 4sq 应用程序会显示市长是否在场地,但我无法找到如何使用 4sq API 执行此操作。任何帮助,将不胜感激。
场地方面返回一个 hereNow 块,其中列出了所有公开分享其位置的人。
它还返回一个市长块,列出当前市长的 ID。
这意味着您可以简单地遍历hearNow 列表并查看市长是否出现。简单的!