AccessToken token:ACCESS_TOKEN_REMOVED in Facebook Android SDK

后端 未结 5 1787
无人共我
无人共我 2021-02-04 23:52

I am using the Facebook SDK but I want to create the photo album but I am getting ACCESS_TOKEN_REMOVED in the session.

Getting this in session

{Session sta

5条回答
  •  北恋
    北恋 (楼主)
    2021-02-05 00:27

    If you are just seeing ACCESS_TOKEN_REMOVED in your log, make sure you are printing session.getAccessToken().getToken(). In the example above, replace

    Log.v(GlobalVars.TAG, "Token::" + session.getAccessToken());
    

    with

    Log.v(GlobalVars.TAG, "Token::" + session.getAccessToken().getToken());
    

提交回复
热议问题