justinmahar / react-social-media-embed

📰 Easily embed social media posts from Facebook, Instagram, LinkedIn, Pinterest, TikTok, X (Twitter), and YouTube in React.
https://justinmahar.github.io/react-social-media-embed/
MIT License
215 stars 30 forks source link

Instagram example do not work - demo page #80

Closed offminded closed 2 months ago

offminded commented 2 months ago

Instagram example is not working. Please check the demo page: https://justinmahar.github.io/react-social-media-embed/?path=/story/embeds-instagramembed--main-example

matheusdamiao commented 2 months ago

It seems Instagram Embed is not working in many places. I've just tried without this library in a Nextjs project and I got the same error that I found here in the demo page:

Cross-Origin Read Blocking (CORB) blocked a cross-origin response.

Just inspect the embed.js script in the network tab that you'll find this 302 found response

matheusdamiao commented 2 months ago

@justinmahar any updates on this issue?

matheusdamiao commented 2 months ago

I seriously don't know what happened, but everything is working now, even the demo instagram section. @offminded check and close the issue

GabrielNogueiraBR commented 2 months ago

I went through the same scenario as well. In my application, the Instagram embed stopped working, returning a 302 status code on the request for the embed.js file and it would stay in infinite loading.

The same thing happened on the Demo page, so it was probably a global issue that affected the entire Instagram embed functionality, because now everything is back to normal for me too.

offminded commented 2 months ago

Ok back to normal for me too, seems it was a global issue. Thanks for the input @matheusdamiao @GabrielNogueiraBR. Closing.