roughike/flutter_facebook_login

Expose `AccessToken.refreshCurrentAccessTokenAsync` method

cubuspl42 opened this issue · 0 comments

As far as I know, currently there's no way to refresh te token received from FacebookLogin.logIn. It invalidates after ~60 days. Please correct me if I'm mistaken.

Some people state that token should be refreshed automatically by the native Facebook SDK, but that doesn't seem to be the case. See my answer on StackOverflow.

As a solution, flutter_facebook_login could expose AccessToken.refreshCurrentAccessTokenAsync method.