Fetch instagram posts from api?

Hello everyone, I am doing a client’s website and they want to have their Instagram posts automatically appear on their homepage when they make them.
Their competitor has done in and I took a screenshot here.

So I know it is possible, but I can’t find how to fetch data from instagram specifically. I either find an outdated tutorial or just a general Json/fetch tutorial. Once it’s in JSON format I will be just fine to implement this.
Long story short, How do I fetch posts from an instagram account? Has anyone done this before?
Thanks in advance for your help.

Hello there,

This looks very similar to most APIs, you will need to follow the official documentation here: https://developers.facebook.com/docs/instagram/oembed

It is a common workflow of:

  • Register
  • Get access token/s
  • Use the request template to make a request
  • Receive a response with the data you need. Seeing as this is a web app supplying to a web app, over the web, you are almost guaranteed it will be JSON

Hope that helps

1 Like

Thanks! This is a step in the right direction