How to fix Login with Facebook “Error: Can’t Load URL" using hybridauth in CodeIgniter

You can fix Login with Facebook “Error: Can’t Load URL" using hybridauth in CodeIgniter by following steps:
1. Visit "http://developers.facebook.com/apps/" and select the app you wish to fix
2. Switch your Facebook app to "public" or "online
3.Click  "+ Add Product" link from left hand menu
4. Select Web and enter you site url and hit save
5. Click on Settings menu item under Facebook Login
6. Enable "Embedded Browser OAuth Login"
7. Set "Valid OAuth redirect URIs " under Products => Facebook Login tab    Like: https://www.example.com/index.php/hauth/endpoint?hauth.done=Facebook
7. Save your changes
8. Enjoy

Comments

Popular posts from this blog

Stop video playing when Bootstrap modal is closed