Open matthieu-D opened 8 years ago
you can't get token that never expire, but you can check if token is active, and if it is not you can call token method.
facebookConnectPlugin.getAccessToken(function(token) { alert("Token: " + token); }, function(err) { alert("Could not get access token: " + err); });
Cool. Thanks.
Pass the token to an your server That use the php sdk for example, than you can convert it to a long-lived token that is valid for 60 days https://developers.facebook.com/docs/facebook-login/access-tokens/expiration-and-extension
Hi, Someone knows how to modify the expiration time for a connection? I'm getting disconnected after the 5183979ms mark.