oembed
oembed copied to clipboard
Instagram API
Since last week, my code for embed instragam post return:
Access to XMLHttpRequest at 'https://api.instagram.com/oembed/?url=https://www.instagram.com/p/Bt2ECtVg4jh/' from origin 'xxxxxx' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Already tried crossDomain: true and headers: {"Access-Control-Allow-Origin": "*"} and doesn't work...
Someone with same problem?
Thanks
Facebook say:
This issue is related to the legacy Instagram API (api.instagram.com) which isn't supported via this channel; this bug reporting tool only supports issues related to the Instagram Graph API. Additionally, as the legacy Instagram API has been deprecated as of July 2018, the team is no longer accepted bug reports for this API. Thanks for your understanding.
https://developers.facebook.com/bugs/235545030662906/
See also https://github.com/sugarshin/react-instagram-embed/issues/89.