title: How to fix localhost Facebook apps “Error: Can’t Load URL: The domain of this URL isn’t included in the app’s domains”
body: <p>I know that this question has been asked previously in this link <a href="https://stackoverflow.com/questions/37063685/facebook-oauth-the-domain-of-this-url-isnt-included-in-the-apps-domain">Facebook OAuth "The domain of this URL isn't included in the app's domain"</a> , 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.</p>
  
  <p>I followed every steps from facebook guide: </p>
  
  <ol>
  <li>I created my application</li>
  <li>I added a web platform with the url <a href="http://localhost/" rel="nofollow noreferrer">http://localhost/</a></li>
  <li>I added Product Facebook Login</li>
  <li>I added code for Continue with Facebook button described <a href="https://developers.facebook.com/docs/facebook-login/web/login-button" rel="nofollow noreferrer">here</a> in my html page </li>
  </ol>
  
  <p>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).</p>
  
  <p>I tried to add a domain (localhost, <a href="http://localhost" rel="nofollow noreferrer">http://localhost</a>, <a href="http://localhost:5000" rel="nofollow noreferrer">http://localhost:5000</a>) but it didn't work.</p>
  
  <p>I then added <a href="http://localhost:5000/" rel="nofollow noreferrer">http://localhost:5000/</a> to the field 'Valid OAuth redirect URIs', but no improvement.</p>
  
  <p>Here my Facebook login settings :
  <a href="https://i.stack.imgur.com/IsBpE.png" rel="nofollow noreferrer">login setting</a></p>
  
  <p>Thanks for your answers !</p>