Instagram, How to get all photos by tag?

So, I can find out how many messages "SOMETAG" has:

https://api.instagram.com/v1/tags/SOMETAG

I can get images by tag:

https://api.instagram.com/v1/tags/SOMETAG/media/recent

But it only returns my custom photos.

How can I get all photos from all users using a tag (rather than a single request)?

+4
source share
3 answers

Your client is in Sandbox mode and can only search for photo tags published by invited users. You must log in to https://www.instagram.com/developer , edit your click and press the "GO LIVE" button.

"GO LIVE" , Instagram: "" . ( , URL- , .) , , Go Live.

+7

, Sandbox, , :

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

Sandbox: https://www.instagram.com/developer/sandbox/

+1

"" /, .

Instagram Hashtag App - ( ) , GET Recent Tags GET, . pagination 'responseDict'.

, , URL- ( ), /tagID.

:

~

NSString *nextSetURL = [responseDict valueForKeyPath:@"pagination.next_url"];

~

, WILL , , nextSetURL .

Instagram /tags/<tag>/media/recent 20 ( ).

Good luck, and I look forward to finding out what you are building using the latest Instagram Hashtags!

-1
source

Source: https://habr.com/ru/post/1619854/


All Articles