Alex Rivera | Logout

Instagram API to fetch pictures with specific hashtags

Asked 2012-11-01T12:48:36.273
25

I want to get all the pictures with a specific hash tag from Instagram using PHP. How can I do that?

Edit
Report

1 Answer

6

Take a look here in order to get started: http://instagram.com/developer/

and then in order to retrieve pictures by tag, look here: http://instagram.com/developer/endpoints/tags/

Getting tags from Instagram doesn't require OAuth, so you can make the calls via these URLs:

GET IMAGES https://api.instagram.com/v1/tags/{tag-name}/media/recent?access_token={TOKEN}

SEARCH https://api.instagram.com/v1/tags/search?q={tag-query}&access_token={TOKEN}

TAG INFO https://api.instagram.com/v1/tags/{tag-name}?access_token={TOKEN}

answered 2012-11-01T14:22:31.013

Your Answer