So, I understand that each user of my website will have an Auth_key after they allow my website to access their foursquare account (after the authentication process). What I understand is, to display the latest checkins of a user, I need to use that user's auth_key and use the
users/self/checkins end point to get the particular user latest checkpoint. So, in order to get all users latest checkins, I need to loop through each of my users, get each auth_key and get the feeds.
I'm making a feeds of the latest checkins of my users. So, it will be displaying the latest 20 checkins. Which end point can I use to achieve this?
I believe the endpoint your looking for is: https://api.foursquare.com/v2/users/self/checkins?oauth_token=
Also, the foursquare api sandbox may help you in testing: https://developer.foursquare.com/docs/explore.html#req=users/self/checkins
Apparently, foursquare API developers are working on a 'Push API'. So, instead of we sending request to foursquare, foursquare will send us the data every time a user who is authorized in our website do a check in.
You could actually call the 'Users' endpoint
With this you can obtain all public information about your foursquare users
However if you can get the auth key then use the venue history call