I have read several postings about the fact that the Instagram API returns only 20 results at a time. In many cases, people have suggested that all you need to do is to use
/media/search
end point does not have pagination, but you can get next set of 20 pics by using url param max_timestamp
, get the created_time
of the last photo in api response and apply it as max_timestamp
for next url call, it will return the next 20. Thats how I implemented here: http://www.gramfeed.com/instagram/map
for locations/search
end point, timestamp does not apply, you can change distance
url param and get more results: http://www.gramfeed.com/instagram/places