Open zaidamobiledevteam opened 4 years ago
nevermind, that only makes the login with insta window show up but is not letting me to do anything, after trying to login
Oops, an error occurred
appears no matter what i do.
Hello, thank you for report. For now this package is still not stable, so you can't use it on production
Are there any plans on moving forward with it? Looks like the react-instagram-login you wanted to merge with didnt get a reply from the author.
hi there,
i was getting a pop up window with OAuthException", "code": 400, "error_message": "Invalid platform app
despite using instagram app id (after adding instagram as a facebook product)
the solution was modifying: react-instagram-oauth/dist/InstagramLogin.js
and adding: force_authentication=1&enable_fb_login=1
on
line 55 return "https://api.instagram.com/oauth/authorize?force_authentication=1&enable_fb_login=1&app_id=" + appId + "&redirect_uri=" + uri + "&scope=" + (((_a = scope) === null || _a === void 0 ? void 0 : _a.join(",")) || "user_profile") + "&response_type=code";
now the instagram login pop up worked well