我正在尝试将登录与faceBook集成,我从facebook开发者那里关注facebook教程
https://developers.facebook.com/docs/facebook-login/android
并且登录成功,但是当再次尝试登录时它已经登录我尝试通过添加禁用自动登录
<meta-data android:name="com.facebook.sdk.AutoLogAppEventsEnabled"
android:value="false"/>
但什么都没发生
在使用某些动作后从Facebook注销用户
if (Profile.getCurrentProfile() != null && AccessToken.getCurrentAccessToken() != null) {
//there is an active user,just Log out the user
LoginManager.getInstance().logOut();
}