Dynamic facebook login button with Firebase on Android
问题 Today I came across this problem; I want to use the Facebook login button to sign users in to my app. Now when the loginbutton is clicked, I log in, and continue to the 2nd activity. callbackManager = CallbackManager.Factory.create(); LoginButton loginButton = (LoginButton) findViewById(R.id.loginButton); loginButton.setReadPermissions("email", "public_profile"); loginButton.registerCallback(callbackManager, new FacebookCallback<LoginResult>() { @Override public void onSuccess(LoginResult