Skip to content Skip to sidebar Skip to footer

How Can I Find The Most Liked Images Of The Day On Instagram?

The Instagram API is really not that well documented. Does anyone know of a way where I can find the most liked Instagram photos (of the day) by location? As in, what picture did m

Solution 1:

If you know the location ID you want, you should be able to get popular photos by location using

https://api.instagram.com/v1/locations/{location-ID}/media/popular?MIN_TIMESTAMP={UNIX timestamp for beginning of day}&access_token={access token}

and you can search for a location ID using the location/search query, like so:

https://api.instagram.com/v1/locations/search?lat={latitude}&lng={longitude}&access_token={access token}

in both of these URLs, {} represent variables that you need to define.

Reference: http://instagram.com/developer/endpoints/locations/

Post a Comment for "How Can I Find The Most Liked Images Of The Day On Instagram?"