先生我正在使用这种方法,但这不起作用
public void logoutFromFacebook()
{
mAsyncRunner.logout(this, new RequestListener() {
@Override
public void onComplete(String response, Object state) {
Log.d("Logout from Facebook", response);
if (Boolean.parseBoolean(response) == true) {
// User successfully Logged out
}
}
答案 0 :(得分:0)
您只需要杀死身份验证Cookie。尝试 - facebook.logout(getApplicationContext());