For Facebook login to work you need to set up an app and then you need the app ID and private key. Finally you need to activate the app in Facebook developers and it should work properly.
In case it still doesn't work then please provide the steps you have done to create the app so that we can find out the mistake.