Android login error for Facebook

I use Facebook login in my Android application and everything works fine in debug mode. However, when I posted it on Google Play and my friends uploaded it, Facebook login failed, showing this message:

SERVER_ERROR: [code] 1675030 [message]: Error executing the request. [extra]: Errors during the operation "ProxyAuthAppLoginQuery": in Query.proxy_auth_app_login: the field could not be resolved.

I added hash and DEBUG and RELEASE keys already in developers.facebook.com. before I published the application, but the login still failed. Where did everything go wrong? Thank you for your help.

+4
source share
2 answers

1) Make sure that in the facebook dev console, the application is open, the application identifiers match the application identifier and all keys are installed. Details on this can be found in this thread.

SERVER_ERROR: [code] 1675030 [message]: an error occurred while executing the request

If the problem still remains.

Verify that the account used to log in must have a verified email address. If it still doesnโ€™t work (old facebook emails have not been verified) and are not sure if the email is verified or not, add a new confirmed email to your facebook account.

0
source

, , facebook , user_profile, phone_number. .

     loginButton.setReadPermissions("email", "public_profile", "user_friends");

, -

        List<String> permission =
            new ArrayList<>();
    permission.add("email");
    permission.add("public_profile");
    permission.add("user_friends");
    LoginManager.getInstance()
            .setLoginBehavior(LoginBehavior.NATIVE_WITH_FALLBACK)
            .logInWithReadPermissions(activity,
                    permission);
0

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


All Articles