I was having this issue for a while so just wanted to share how I fixed it. I set this up for a local dev server for lets say https://myapp.local
The setting that made this work for me was the Valid OAuth Redirect URIs in Facebook Login. I originally has this as https://myapp.local - but then I changed it to the EXACT url that I was using in the Redirect field for my request.
My final working settings are:
In App -> Settings -> Basic:
App Domains: myapp.local
Site URL: https://myapp.local/
You need to install Composer on your machine. Check google for āhow to install composer on windows/mac/linuxā. Then you need to run the command ācomposer require facebook/graph-sdkā in the terminal window.
The github repo is here: https://github.com/facebook/php-graph-sdk
I tried all the above and NOTHING workedā¦couldnt figure out the updating the SDK but tried virtually every other alternative mentioned above.It used to be so easy before the march update
When ever i update the Valid OAuth Redirect URIs with www.______.com/login/facebook/callback and www.______.com/login/facebook/connect. It would work for the initial attempt to share the post, but afterwards there would be an error message for
āCanāt Load URL: The domain of this URL isnāt included in the appās domains. To be able to load this URL, add all domains and subdomains of your app to the App Domains field in your app settings.ā
We have another website with all the same content on a extension with www._______.us which works fine for the same app.
Please let us know if you have some recommended solutions.
Hi, My website is not public yet and I am using cloudaccess for hosting and my url is http:// and not https://
and when I am clicking on the login with facebook button, it gives 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://ā
I tried putting https instead of http but the site does not work. I think i need to get a SSL certificate. Do I need to?
Please help
Hi All - Iāve tried all of the above suggestions but am only having success when I go on a private browsing window on either safari or chrome. On normal windows Iām getting both the URI not whitelisted error and the āyou are not logged inā error. Does anyone have a suggestions based on the attached pictures?? Would really appreciate any help.