How can I watch a Foursquare venue for check-ins?

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-30 13:05:18

I know you asked this 2 months ago and surely found an answer already but to answer your question directly.

where I can get a list of everybody currently checked into a venue (friends and non-friends)

The FourSquare version 2 API has a venues endpoint

https://foursquare.com/dev/merchant/index_docs.html

A sample call will give you a stats field in the response

https://api.foursquare.com/v2/venues/5104

Stats: Contains checkinsCount (total checkins ever here) and usersCount (total users who have ever checked in here).

for more venue information, FourSuare has a subset to the version 2 API called the venues project with more venue driven data you can update and mine through.

https://developer.foursquare.com/venues/index

You can check the venue checkins and mayors, comments, etc. Easily with the foursquare API, just check the API documentation for which calls can you make.

I wrote a handy article about how to connect to the foursquare api and make calls to it through PHP, you can find it here http://ryokuweil.wordpress.com/2011/08/29/how-to-use-the-foursquare-api-v2-with-oauth-and-php/

akdotcom

Authenticated calls /venues/herenow will return a list of people currently checked in. See https://developer.foursquare.com/docs/venues/herenow.html

To receive notifications when new users check-in to a venue, you need to have your application authorized by a manager of the foursquare venue, then enable your app (on foursquare.com/oauth) for the foursquare Venue Push API

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