Make sure your site url is entered on your facebook app’s settings page.
Go to your app settings page on Facebook (https://developers.facebook.com/apps select your app and then click ‘edit settings’) click where it says ‘I want to allow people to log in to my website using Facebook.’ (scroll down the page a bit) and put your site url there.