I know that this question has been asked previously in this link Facebook OAuth "The domain of this URL isn't included in the app's domain" , but the solution is not working for me and it doesn't strictly similar to my issue. I'm trying to setup Facebook OAuth to work with my application that is being developed locally on my machine.
I followed every steps from facebook guide:
- I created my application
- I added a web platform with the url http://localhost/
- I added Product Facebook Login
- I added code for Continue with Facebook button described here in my html page
Facebook button is on my page but it doesn't work when I click on it (Error: Can't Load URL: The domain of this URL isn't included in the app’s domains).
I tried to add a domain (localhost, http://localhost, http://localhost:5000) but it didn't work.
I then added http://localhost:5000/ to the field 'Valid OAuth redirect URIs', but no improvement.
Here my Facebook login settings : login setting
Thanks for your answers !