Android Facebook 4.0 Logout Programmatically
问题 In my app, I allow users to login to and logout from Facebook programmatically. For login, I call: ArrayList<String> permissions = new ArrayList(); permissions.add("manage_pages"); permissions.add("publish_actions"); LoginManager.getInstance().logInWithPublishPermissions(App.activity, permissions); And for logout, I call: FacebookSdk.sdkInitialize(getApplicationContext()); LoginManager.getInstance().logOut(); When I call the logInWithPublishPermissions() method above, the official Facebook