http://localhost:1410/ no longer supported by Facebook API
Facebook no longer supports http, especially for new app started from March 2018 onwards.
fbOAuth() will display the following error: Insecure Login Blocked: You can't get an access token or log in to this app from an insecure page. Try re-loading the page as https://

In R, the following error is resulted.
Error in oauth2.0_access_token(endpoint, app, code = code, user_params = user_params, : Bad Request (HTTP 400). Failed to get an access token.
How can we use https instead of http?
It seems that by default, RFacebook uses http? Copy and paste into Site URL on Facebook App Settings: http://localhost:1410/
I'm working on fixing this, but it doesn't seem to be easy... In the meantime, here's two temporary solutions:
1 - You can go to https://developers.facebook.com/tools/accesstoken/ Then choose the app you created and then select Debug. In the new page, go all the way down to Extend Access Token. You can then use the token as a regular long-lived token, e.g.:
token <- 'XXXXX'
getPage("BarackObama", token=token)
2 - Short-lived tokens obtained from https://developers.facebook.com/tools/explorer/ should still work.
Thanks for your patience!
Hi, I am happy to see that someone asked about it already, and that you are on it :)
anyway, I still have the same issue- and I got this:
Both with the Shot and Long live. Do you have any idae? (It is a little bit urgent)
Thanks!!
the problem is that the post is passing to facebook "http" or instead of "https" and to get https you must install an SSL certificate and run apache
Thanks. Could you please explain a little more about how to do that?
I had the same problem. Do you have any way to fix this?
Having a similar problem to @Yaelshi, though my error is a little different.
Has there been any update on this? @pablobarbera
use https://ngrok.com/docs
hello, do you have a solution for the https issue? @pablobarbera thks
Hello has anyone found a workaround for the InstaOauth in the instaR package?