Android facebook-connect-logout方法不起作用

时间:2014-03-31 10:52:27

标签: android facebook

先生我正在使用这种方法,但这不起作用

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
            }
        }

1 个答案:

答案 0 :(得分:0)

您只需要杀死身份验证Cookie。尝试 - facebook.logout(getApplicationContext());