为什么我在logcat中看不到访问令牌?

时间:2014-07-03 11:13:35

标签: android logcat facebook-access-token

我试图在logcat中看到访问令牌,但它现在正在显示。为什么呢?

private void updateUI() {
    Session session = Session.getActiveSession();
    Log.i("access_token", session.getAccessToken());

    if ( user != null) {
        profilePictureView.setProfileId(user.getId());
        greeting.setText(getString(R.string.hello_user, user.getFirstName()));
        accessToken.setText(session.getAccessToken());

    } else {
        profilePictureView.setProfileId(null);
        greeting.setText(null);
        accessToken.setText(null);
    }
}

0 个答案:

没有答案