使用Firebase登录android应用程序时引发异常:来自Facebook的调试令牌响应不成功

使用Firebase登录android应用程序时引发异常:来自Facebook的调试令牌响应不成功,android,facebook,firebase,firebaseui,Android,Facebook,Firebase,Firebaseui,我正在尝试使用firebaseUI在我的android应用程序中启用facebook登录。我已经在facebook开发者页面和firebase中配置了我的应用程序。 以下是处理facebook访问令牌的代码- private void handleFacebookAccessToken(AccessToken token) { Log.d(TAG, "handleFacebookAccessToken:" + token); // [START_EXCLUDE s

我正在尝试使用firebaseUI在我的android应用程序中启用facebook登录。我已经在facebook开发者页面和firebase中配置了我的应用程序。 以下是处理facebook访问令牌的代码-

private void handleFacebookAccessToken(AccessToken token) {
        Log.d(TAG, "handleFacebookAccessToken:" + token);
        // [START_EXCLUDE silent]
        // [END_EXCLUDE]

        AuthCredential credential = FacebookAuthProvider.getCredential(token.getToken());
        mAuth.signInWithCredential(credential)
                .addOnCompleteListener(this, new OnCompleteListener<AuthResult>() {
                    @Override
                    public void onComplete(@NonNull Task<AuthResult> task) {
                        if (task.isSuccessful()) {
                            // Sign in success, update UI with the signed-in user's information
                            Log.d(TAG, "signInWithCredential:success");

                            mStatusTextView.setText("Logged in as: "+mAuth.getCurrentUser().getDisplayName());

                            // send to game menu
                            Intent intent = new Intent(SignInActivity.this, GameMenu.class);
                            startActivity(intent);

                        } else {
                            // If sign in fails, display a message to the user.
                            Log.w(TAG, "signInWithCredential:failure", task.getException());
                            Toast.makeText(SignInActivity.this, "Authentication failed." + task.getException(),
                                    Toast.LENGTH_LONG).show();
                            Log.d(TAG, "Logged in as : "+ mAuth.getCurrentUser());

                        }

                        // [START_EXCLUDE]
                        // [END_EXCLUDE]
                    }
                });
    }
我正在使用这些教程-

我已经验证了应用程序ID和应用程序机密,我还添加了facebook帐户,我正在使用该帐户作为应用程序的测试人员登录

任何线索将不胜感激

com.google.firebase.FirebaseException: An internal error has occurred. [ Unsuccessful debug_token response from Facebook:{"error":{"message":"(#100) You must provide an app access token or a user access token that is an owner or developer of the app","type":"OAuthException","code":100,"fbtrace_id":"FKCMN4gqtan"}} ]
        at com.google.firebase.auth.api.internal.zzcf.zzb(Unknown Source)
        at com.google.firebase.auth.api.internal.zzbb.zza(Unknown Source)
        at com.google.firebase.auth.api.internal.zzcz.zzc(Unknown Source)
        at com.google.firebase.auth.api.internal.zzdc.onFailure(Unknown Source)
        at com.google.firebase.auth.api.internal.zzcj.dispatchTransaction(Unknown Source)
        at com.google.android.gms.internal.firebase_auth.zzb.onTransact(Unknown Source)
        at android.os.Binder.execTransact(Binder.java:565)
2018-10-08 16:50:50.130 10978-10978/company.com.myapp D/FacebookLogin: Logged in as : null