Instagram/feed API media URL shows 'URL signature expired'

Arun Singh picture Arun Singh · Dec 6, 2017 · Viewed 22.4k times · Source

I am using Instagram feed API to show my Instagram posts on my Website. But some video URL shows 'URL signature expired'.

Any solution for me ?

Answer

Vladimir Afinello picture Vladimir Afinello · Dec 12, 2018

You could use the media URL with some extra parameters as a solution to get the desired image instead of using the direct image link.

For example

https://www.instagram.com/p/Bo7OXJ3hYM8/media/?size=m

Notice the addon /media/?size=m

Letters could be t, m or l for different picture sizes

This should return you the desired image

Reference: https://www.instagram.com/developer/embedding/