I just followed the excellent guide here: https://developers.facebook.com/docs/facebook-login/login-flow-for-web/v2.0 on how to enable facebook access for a website using Javascript SDK
I tried this - and when I click on my pretty login button, I get an error message:
Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App domains.
I mark the URL of this error:
https://www.facebook.com/v2.0/dialog/oauth?scope=public_profile%2Cemail&response_type=none&redirect_uri=https%3A%2F%2Fwww.facebook.com%2Fdialog%2Freturn%2Farbiter%3Frelation%3Dopener%26close%3Dtrue%23origin%3Dhttp%253A%252F%252Flocalhost%253A56378%252Ff1c45491ec&seen_revocable_perms_nux=false&ref=LoginButton&auth_type=&default_audience&state=fdcac98d4&app_id=251165285007053&client_id=251165285007053&display=popup
So, I go to my facebook application and add no-ip hostname to my name, and localhost - he doesn't like localhost, so I delete it.
However, I still get the message because the request is still being sent from the localhost domain.
Is there any way to check this on the local computer? I do not have a deployment domain during development.
source share