I have added an application from my facebook account and I have integrated it with my website code. But when I try to allow login using facebook, I get following message:
App Not Setup: This app is still in development mode, and you don’t have access to it. Switch to a registered test user or ask an app admin for permissions.
How can I fix this?
It seems that you have still not put your application live from your Facebook account. Follow the below steps to put it live:
 From your Facebook developers URL, go to My Apps and click on your App
 In Settings -> Basic -> Contact Email -> Enter your email address and save it
 Go to Status and Review Tab and set following option to “Yes”:
Do you want to make this app and all its live features available to the general public?