Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instagram API #339

Open
taniabarreira opened this issue Feb 18, 2019 · 1 comment
Open

Instagram API #339

taniabarreira opened this issue Feb 18, 2019 · 1 comment

Comments

@taniabarreira
Copy link

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

@hugovk
Copy link

hugovk commented Feb 18, 2019

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 sugarshin/react-instagram-embed#89.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants