Embed Instagram Feed

Hi there

On our website, we would like to embed our company’s Instagram feed. Nevertheless, I am new to Contentful, and therefore I do not know how to approach the task. Can anyone guide me in the right direction? :blush:

In the company, we work with Vue.js and Nuxt.js. My thought was to develop a component that can be used in different places on the website.

1 Like

Hey there!

Yes, you’re right — a custom component is the way to go. Given that you only want an Instagram feed at this point and don’t want to embed Instagram posts — it’s entirely possible to do this without involving Contentful at all.

It looks like this is a good way to go, from the Facebook developers docs: Graph API Reference v12.0: Instagram Oembed - Documentation - Facebook for Developers

One thing to bear in mind, given you’re using Nuxt, is that you’ll probably want to render the Instagram feed on the client rather than the server, to get up to date information each time a visitor lands on your page.

Let me know if you have any other questions!

Salma