foursquare api v2 not getting reply for herenow

寵の児 提交于 2019-12-11 01:33:02

问题


using v2 api

url

https://api.foursquare.com/v2/venues/4d5db152e0ffa1cdb12a1e54/herenow?oauth_token=FSQ_USER_TOKEN&v=20111205&limit=100

Consistent replies since yesterday

{"meta":{"code":200},"notifications":[{"type":"notificationTray","item":{"unreadCount":0}}],"response":{"hereNow":{"count":0,"items":[]}}}

But I know that there are 2 checkins, 1 is mine. When I go to Foursquare.com I see the checkins for the venues. This started yesterday.


回答1:


Are you sure you're calling the right endpoint? Herenow returns information about people currently checked in. For total number of check-ins, you'll want to call venues/4d5db152e0ffa1cdb12a1e54 and look at the "stats" stanza



来源:https://stackoverflow.com/questions/8744750/foursquare-api-v2-not-getting-reply-for-herenow

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!