开发者

foursquare check who is checked

开发者 https://www.devze.com 2023-03-05 15:10 出处:网络
How i can check who was in venue? Do i need to be owner? In https://api.foursquare.com/v2/venues/id Provides a count of how many people are at a given venue. If the request is user authenti开发者_运

How i can check who was in venue? Do i need to be owner?

In https://api.foursquare.com/v2/venues/id

Provides a count of how many people are at a given venue. If the request is user authenti开发者_运维技巧cated, also returns a list of the users there, friends-first.


You can check this yourself: https://developer.foursquare.com/docs/explore#req=venues/40a55d80f964a52020f31ee3

In the response there is a "hereNow" field that shows two groups: friends who are here now, and anyone else who is here now. You do not need to be the owner to see this information.

Note that if you make the request without being authenticated (e.g., https://api.foursquare.com/v2/venues/40a55d80f964a52020f31ee3 without the ?oauth_token= ) then the request will fail, so you do need to be acting on the part of a user, but any user will do.

0

精彩评论

暂无评论...
验证码 换一张
取 消