Search code examples
javascriptfacebook-loginfacebook-sdk-4.0

Facebook Login Button not working on localhost


I am trying to login facebook with javascript on localhost.I used http://localhost:port/ for site url and localhost for App Domains in my last project and it's totally fine.Unfortunately it doesn't seem to work now.I'm now using test app.It shows "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.".Can anyone help me with this please?


Solution