Reputation: 892
If I have an access token then, can I somehow parse it to know at what time it will expire?
Upvotes: 0
Views: 390
Reputation: 43816
You can use Facebook's Debug Tool to check this if it's a small number of tokens
The expiry is also given to you along with the token at the point in the Authentication flow where you obtain the token itself - so ideally you'd store the expiry at that time and keep it up to date when you get a new token or extend the current token
Upvotes: 2