SERVER_ERROR: [code] 1675030 [message]: Error performing query

后端 未结 17 1891
花落未央
花落未央 2020-11-29 04:07

I am using Facebook login in android.
Code:

callbackManager = CallbackManager.Factory.create();
    LoginButton loginButton = (LoginButt         


        
相关标签:
17条回答
  • 2020-11-29 04:20

    I just fixed it by going to https://developers.facebook.com/apps/ and select my app then

    switch to live mode

    "from top left beside app ID"

    0 讨论(0)
  • 2020-11-29 04:20

    try this, locate your app-debug.apk in android build folder

    keytool -printcert -jarfile app-debug.apk | openssl sha1 -binary | openssl base64
    

    paste it in facebook key hashes.

    0 讨论(0)
  • 2020-11-29 04:21

    All of the above answers didn't help me, what did was when you use this command

    keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore | openssl sha1 -binary | openssl base64
    

    to get the Key Hashes you put in facebook configurations.

    it will ask you for a password, at first I didn't set any, so the issue happened, when I entered android as the password. it worked !

    0 讨论(0)
  • 2020-11-29 04:22

    I dont know if this will help but from personal experience when you generate the development key you will need to type a password which is "android" and make sure you add the = after the code when you are adding it in the field on developers facebook domain

    0 讨论(0)
  • 2020-11-29 04:24

    @Danial answer correct, But I want to add some more in that. This types of error comes only when app your in under development. Follow this link and select your App. Then you can do two things here. From Roles tab you can allow login to your friends only or else select the App Review and make your app public then any one can able to logged in.

    0 讨论(0)
  • 2020-11-29 04:24

    I addition to the other answers please also check that the email of the account being used to log in is verified.

    0 讨论(0)
提交回复
热议问题