Is it possible to extend Facebook tokens with extendAccessTokenIfNeeded in an Android app?

前端 未结 2 358
名媛妹妹
名媛妹妹 2020-12-24 15:46

I think this might effect a lot of Facebook/Android developers and yet there does not seem to be that much discussion on the topic...

My question

2条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-24 15:57

    Try changing the time of REFRESH_TOKEN_BARRIER, so that you do not have to wait 24 hours every time you want to test. I changed mine to about 2 minutes, and I was able to see that the access token was actually being extended when I re-launched the app after 2 minutes.

提交回复
热议问题