Sunday, 29 November 2015

Instagram API search by tag doesn't return anything

I created new app on instagram and tried to get all images by tag, following api call was used:


As a result i received empty list, with message in pagination: depreciationWarning=next_max_id and min_id are deprecated for this endpoint; use min_tag_id and max_tag_id instead.

It took me a while to get that apps in sandbox mode (starting November 2015) has some limitations. Here what documentation says:

"As another example, let's consider an endpoint that returns a list of media: /tags/{tag-name}/media/recent. The response returned by this endpoint will contain only media with the given tag, as expected. But instead of returning media from any public Instagram user, it will return only media that belongs to your sandbox users, restricted to the last 20 for each user."

PS: I used cool library called jInstagram

Friday, 20 November 2015