Summary of the problem:
the “Enforce HTTPS for OAuth Redirects and SDK APIs” option in Facebook Login Settings, which cannot be disabled.
According to the Facebook help (https://developers.facebook.com/docs/facebook-login/security): This setting requires HTTPS for OAuth Redirects and pages getting access tokens with the JavaScript SDK. All new apps created as of March 2018 have this setting on by default and you should plan to migrate any existing apps to use only HTTPS URLs by March 2019.
The fboauth default url for authentication in R is http://localhost:1410/ NOT an https:// address. I can’t even save it as a valid Oauth redirect it would seem.
I’ve tried everything and I am using Facebook’s R package. Basically following this string of posts, and the local server option that they suggest is not working:
https://github.com/pablobarbera/Rfacebook/issues/170
is there a way I can redefine the fboauth function to get it to generate an https:// url?
2
Answers
First up, have you been using rFacebook package in the last couple of months?
If not this may be a solution:
After the API change in late January, Pablo did make adjustments to compensate.
What you need to do is download the dev version of the package direct from github by:
After that the existing code should be fine.
Since January, we no longer have access to User ID’ or Usernames which is a really unfortunate loss.
If you need anything more, drop me a pm
Do you still follow the format:
Make sure you are logged into the FB account linked to the ‘appid’ and ‘appsecret’?