I'm using this repo https://github.com/puneetkay/Facebook-PHP-CodeIgniter, to make a login with facebook and codeigniter, I did my facebook app and the settings looks like this:
My Faceboook App appears: live and avaible to all users
My App Domains: localhost
My Site Url: http://localhost/
Sometimes the error that appears is this:
Given URL is not allowed by the Application configuration: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains.
or
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.
I hope you can help me, thanks