Search code examples
instagram-api

How to get multiple instagram pictures from a # using the API


I want to get the 50 most recent pictures from a given hashtag and display them on an MVC website. I've looked on the official instagram API and can't find anything regarding getting multiple images from a hashtag.

Any ideas?


Solution

  • If anyone else encounters the same problem, this is what I did:

    Adding "?__a=1" to the end of a link to an instagram hashtag gave me some json that I used json.net to deserialize into a C# object. In it was the link to each image and I then used that as the source to my images on my website.