Facebook application login error on localhost

2019-08-19 13:55发布

问题:

I want to create a Facebook App. I've done everything they specified. I have made setup to test application on my localhost as they have specified Here

I'm getting the index page properly (see the image below). But when I click on Facebook login button, I'm getting the following error

Why is this so? What should I do? Did I miss something? I have PHP-sdk of Facebook. and regards

回答1:

Try setting App domain ir your App setings. I don't think you can login from localhost.