facebook android sdk 4.0 , way to unregister callback from LoginManager
问题 I am using the facebook sdk 4.0 inmy android app. I have an Activity whose functionality is to post some message to facebook ( this is not my main Activity of my app ) i am doing the following to login to facebook and then post the message FacebookSdk.sdkInitialize(this.getApplicationContext()); callbackManager = CallbackManager.Factory.create(); LoginManager.getInstance().registerCallback(callbackManager, new FacebookCallback<LoginResult>() { @Override public void onSuccess(LoginResult