My script is currently monitoring the hereNow value for a couple of venues. When working with this data, though, I do not want to count the same checkins twice; when a user checks into a venue, after how long does this checkin expire?
The hereNow count reflects the number of users currently checked in at a venue. Polling the hereNow count of a venue to determine the number of unique users who check in at a venue is not recommended, and will not work reliably. If you are the manager of the venue, you can use the venue manager API, or the venue push API to get reliable data about how many users have checked in at the venue.
Related
I am trying to get the users info for the people who checked in for a venue
Is there any API endpoint to get the atleast the basic info of the users who checked in for a venue
Thank You
In a venue detail request, if your users have auth'd through Foursquare, you can see their friends that have been there. Your app can see users currently at a venue if 1) one of your auth'd users just checked in there, or 2) your users are a manager of that venue.
These should give you some "mini" or compact user responses and to get more data, you can make a user detail request
Is there a way to become a manager of a venue just for development purposes, without having to complete all the steps of claiming a venue? Maybe by creating a false venues and be manager of it?
For the Venue Push API, you can create a "home" venue and will automatically be treated as the manager of that venue.
For specials/stats, create a test venue and either go through the claim flow for the venue, or e-mail api#foursquare.com and with the venue ID and your user ID, asking them to claim the venue for you.
We have integrated hereNow api in our appliction to show the checked in customers for the particular venue. Now because of the policy change in the hereNow api we are not getting any results. Is there any way to get the checkedin user details for the venue without being as a store manager?
Thanks,
Shiva
No. The identities of users currently checked in to a venue are only available to apps making requests on the behalf of friends, other people checked in to the venue, or to a manager of the venue.
I am building an app that rely on Foursquare venue, I have a table that associate with the venue id. But the problem is, what will happen if 2 venues merged? Will one of the old venue destroyed, or both destroyed and replace with new id?
Will the old id still able to associate to the newly merged venue?
This is crucial, as it might break my app.
Thanks.
The more established venue (generally by number of check-ins) will consume the duplicate venue ID. Requests to the api with the ID of the consumed venue will return the new venue object (with the winning venue ID)
I have obtained the 4sq checkin id from twitter streaming api and I want to get the details of the checkin such as userid, time, venueid etc.
However, when I check the 4sq api, I find that the related endpoint requires an acting user. So can anybody suggest what could be an alternative way to get this information? (especially user_id)
Thanks!!
Right now there is no alternative way:
The Checkin endpoint requires authentication, it will return the data you are looking for.
Foursquare requires you to act as a user (via OAuth) to get user related information.
The only thing that does not require authentication is the Venues Platform, but you cannot get information about checkins from it, just number of people who checked in a place.