Get public images using hashtag from Instagram API

I try to get any photo from any user on Instagramwith a specific hashtag, but when I go to:

https://api.instagram.com/v1/tags/{hashtag}/media/recent?access_token=ACCESS_TOKEN

I only get my photos.

+4
source share
1 answer

If your application is on sandbox mode, what explains it.

The behavior of the request /tags/{tag-name}/media/recentchanges to return only marked messages from users of the sandbox.
This is also true for all other API requests; When the app is on sandbox mode, the API behaves as if sandbox users were the only users on Instagram.

documentation:

, : /tags/{tag-name}/media/recent.
, , . , Instagram, , , 20 .

Instagram API console (APIGEE), , .

, Instagram, Instagram .

enter image description here

+1

All Articles