-
-
Notifications
You must be signed in to change notification settings - Fork 309
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
Redirected to instagram login page #410
Comments
I'm seeing this too. it happens on the demo http://oscarotero.com/embed/demo even when providing a valid access token in the url |
@lozeone @Zzombiee2361 Can you try with this PR #424 ? |
@RiverVanRain I see that PR is for v3.x but I'm currently using v4.x so I can't test that. Although weirdly I no longer able to reproduce this issue anymore. But I'll let this issue open since I can still reproduce the issue on the demo page like @lozeone said. |
I'm also seeing this too. Did anyone manage to get it working? |
Hi, This is happening to me but only on my staging / production environment (AWS servers). On my local server it reads the page without any problems. How did you solve this? (by the way, the instagram url I'm trying is from a public post) Thanks |
That's the neat part, I don't. Like you said, the issue doesn't exists on local but very much exists on actual hosted server. I work around this issue by checking if the url host is facebook or instagram, if it is, then use facebook's official oEmbed. You can check using |
When getting instagram url, it gets redirected to the login page (https://www.instagram.com/accounts/login/) thus resulting in invalid url when getting oembed endoints. I already set the
instagram:token
setting, and directly calling oembed endpoint with said token works fine.The text was updated successfully, but these errors were encountered: