Error logging into Facebook using Facebook Logging in to the Android SDK gives: "This URL is not allowed .."

I implemented the Facebook login SDK in my Android application, sometimes after clicking the "Login with Facebook" button, the following error occurs: -

this URL is not allowed by application configuration: one or more of the specified URLs is not allowed by application configuration. To use this URL, you must add a valid native platform in the settings application.

Logging into Facebook works fine when the Facebook application is installed (then the login is performed by the browser), but on some devices using the Facebook application (both the main application and the Lite application) gives the above error. I also implemented the google login API. It works great.

I need the root cause of this error.

+4
source share
2 answers

For Facebook Auth, you need to add Android as a platform inside the Facebook toolbar.

You need to go to: https://developers.facebook.com/apps

1. Select your app
2. Click settings
3. Enter contact email (for publishing)
4. Click on +add platform 

And follow the steps indicated in the accepted rule of this question. This URL is not allowed by application configuration using FirebaseUI

+2

.

:

  • ""
  • " "
  • "Android"
  • :

Google Play

, .

, .

+2

Source: https://habr.com/ru/post/1692967/


All Articles