Get all checkins of venue - foursquare

I'm trying to develop a web application to show current checkins to the venue owner. Wenue owner will login to application and see his recent checkins. Who and when checked in.
I have tried venues/herenow (https://developer.foursquare.com/docs/venues/herenow) but this call gives only checkins of friends and friends of friends.
Is there a way to get all recent checkins.

This is only possible if you want to check your own venue. Here is the API call :
https://developer.foursquare.com/docs/explore#req=simulate/venues/4e0deab3922e6f94b1410af3/stats

Related

(Instagram API) Get the list of instagram users this user is followed by

I want to get the list of instagram users this user is followed by.(but not for myself, for another user).
I do API call GET
https://api.instagram.com/v1/users/4234233244/followed-by.json?access_token=ACCESS_TOKEN
like this
/v1/users/user_id/followed-by.json?access_token=ACCESS_TOKEN
But I receive following response
{"meta":{"error_type":"APINotAllowedError","code":400,"error_message":"you cannot view this resource"}}
Why? How can I do that? I set up follower_list permission scope(Actually all scopes scope=basic+follower_list+public_content+relationships+likes+comments).
And He's not a private user, I think so ;). And my dev app is in Sandbox mode, and this user was added to to the Sandbox, so I can get his profile information.
I know
Deprecation of /users/USER-ID/follows and /users/USER-ID/followed-by
But what should I do? I try to develop a great instagram client for tablet :)
I dont think you can get other user's follower list/following list anymore. You can only get the list for the logged in user.
Here is documentation: https://www.instagram.com/developer/endpoints/relationships/
https://api.instagram.com/v1/users/self/followed-by?access_token=ACCESS-TOKEN
you can only get list for self, not any id
List of users who your user follow :
https://api.instagram.com/v1/users/self/follows?access_token=ACCESS-TOKEN
List of users who your user is being followed by :
https://api.instagram.com/v1/users/self/followed-by?access_token=ACCESS-TOKEN
List of recent media from your user :
https://api.instagram.com/v1/users/self/media/recent?access_token=ACCESS-TOKEN
List of recent media from other users :
https://api.instagram.com/v1/users/{user-Id}/media/recent?access_token=ACCESS-TOKEN
More information at Instagram Endpoint Reference
in left pane (below Endpints button) you will see a list of media types, each one corresponding to a page that explains all related api Interfaces.

Can foursquare users tag or otherwise categorize checkins?

A client is proposing an app that would display checkins from users who have agreed to share their foursquare info with us; the catch is that they would want to distinguish between checkins that are and aren't relevant to this app. Is there a way to handle that, for instance with user comments at the time of checkin?
You can always look at the category of the venue the user has checked into, which should be available from the check-in response, or filter by specific venues directly. You can also filtering by content in a check-in shout is also a viable idea; the #mom app does this.

foursquare api who's been there

I which to display on my website a the list of maybe the last 5 peoples who checked in my venue.
I didn't find any method in the api to do that, the closest was showing your friend...
I tell my boss that it wasn't possible to do that then he shows me this site :
http://www.brooklynmuseum.org/community/foursquare/
How is it possible to get this kind of list and if possible with no authentication (my server will do the call no a real person so no oauth...)
thanks !
You can use the Venue Push API (documented here) to notify your website whenever a user checks in to your managed venue, which you can use to update such a list.

Is there a foursquare api method for venues owners to post schedules to?

Right now, when you check into a movie theater, you have the ability to check into a specific movie showing.
If you're a venue owner that has a schedule that people can check into, is there a foursquare api method that lets you upload your schedule? What do the movie theaters use?
This schedule you're referring too is called "events" on Foursquare. Foursquare is currently partnered with ESPN (sporting events), MovieTickets.com (Movie Times) & SongKick (concerts) for the data you're seeing. There is no way (currently) for you to create an event at a venue using the Foursquare api. However, it looks like this feature may be on its way based on the update at the end of this blog post.
http://blog.foursquare.com/2011/08/18/foursquare_events/
Not through the API, the current ability to edit a venue in FourSquare can be found at: https://developer.foursquare.com/docs/venues/edit
Events can be viewed through a venue using the API here: https://developer.foursquare.com/docs/venues/events
Once you manage a venue on FourSquare, you can maintain it through the Dashboard - found here:
https://foursquare.com/business/merchants/dashboard

Foursquare Checkin in delivery restaurants

I have an app where you can buy food on delivery restaurants.
Can I use the Foursquare API so the user can check-in on the restaurant that he order from?
Probably the user will not be in the resutaurant it self when he checkin.
There is an special way to do this on the foursquare api?
thanks
You can check-in any user that has authorized your application at a venue using the /checkins/add endpoint in the API. If you don't know the user's actual location (or fully expect them not to actually be there, but have a legitimate reason to be checking in, e.g. for delivery) be sure to leave the lat/lng parameter blank. The check-in will go through and be in the user's history, but won't count for badges/mayorships, etc.
I'm not too sure what you're asking. I don't think you can check in to places if you're not even near them (or at least I wasn't able to when I last used the 4sq API).
Check this tutorial out if you need help getting started with the API, or read the 4sq api documentation.

Resources