Closed ikaiser closed 9 years ago
you can't. ask the user to re-login.
there is no other solution ??
once the access token is revoked/expired, you have no chance to regenerate new one without user interaction.
Normally how tough a token ??
If you got it via OAuth2 token endpoint, its lifetime should be 60 days. ref.) https://developers.facebook.com/docs/facebook-login/access-tokens#extending
and I can make that at 59 days in the user's token automatically regenerate ??
sorry, I can't understand your english..
59 th day can automatically regenerate the token?
Ah, i see. You can't extend token lifetime more than 60 days, so you have to ask users to re-login at least each 60 days.
Using FB iOS/Android SDK, the token lifetime rule might be different though.
thanks a lot for everything :)
np
Hy Everyone! When a user changes his password token is regenerated, and my app can not longer use that token, to make calls to Facebook API, how can I automatically regenerate the token ?? thanks.