Instagram API does not display the image

Hi there,

We have an issue with Instagram API and the link to display the picture on our website.
We have an Instagram module on Prismic where we can contribute the post's link on Instagram we want to display on the website.

At first, it's working well with the image displayed, but after some time, the image doesn't display anymore in the module and in Prismic we don't have the thumbnail.

When we inspect the API's result, I have in "instagram_links_group" > "instagram_link" > "thumbnail URL" the following url: that redirects me to: URL signature expired

Could you double check and tell me what's the possible reason for it?


Hi Team,

Sorry about the delayed response on this.

I'm not really sure what the issue is here as it's something I've never seen before. When you say you have an instagram module on Prismic, do you mean you have a Slice with and embed field? or are you importing you images through the API with Integration fields?

If you can tell me this and the name of your repo I might be able to help.


Hi Phil,

Thanks for your help.
The name of the repo is: "Cheval Blanc"

For the Instagram integration, we have a Slice with an embed field yes


Hey Martin,

I'm happy to help. Can you also provide me with the name of the Slice and an example image URL that you are adding you I can test?


For instance, here is the section where we want to put the Instagram URL:

in "Instagram Links" (the name of the Slice) you can see that the URL give no preview ( :

When I populate this field with a link, the preview is working, and then after some days (don't know how much), the preview disappear and the image isn't displayed in front.

OK, Thanks. This extra information really helps, although I'm not sure what exactly the issue is. So I'm going to have to pass this to our Dev Team here to get some help. Once I have a response I'll let you know.

Ok thanks,

Do you know when it will be possible for you to give me an answer?

Hi Martin,

thunbnails are generated on instagrams side and it looks like they clear out the cdn so the thumbnail_url becomes invalid.

If you want an all ways up to-date thumbnail to appear on your site i would recommend using the "embed_url" property to form query to instagrams oembed api.

const url = encodeURIComponent(data.embed_url)
const maxwidth = "500"
const token = "facebook-app-token"

Or is this an issue with the way things look in the editor?



This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.