I have implemented Facebook Login SDK in my Android App, Sometimes after clicking on Login with Facebook button following error occurs:-
given URL is not allowed by the application configuration: one or more of the given URLs is not allowed by the app’s setting. to use
this URL you must add a valid native platform in your app’s
settings.
Facebook login is worked perfectly worked when no Facebook app is installed (Then login is done by the browser), but in some devices, with the Facebook app(both Main app and Lite app) it gives above error.
I have also implemented Google Login API also. It is perfectly working.
I need root cause of this error.
2
Answers
For Facebook Auth you need to add Android as a platform inside the In the Facebook Dashboard.
You have to go to: https://developers.facebook.com/apps
And follow the steps mentioned in the accepted asnwer of this question.
Given URL is not permitted by the application configuration using FirebaseUI
try this ..
Steps:
Google Play Package Name
Class Name
Key Hashes
make sure you have a correct values.
Hope it works.