If I have an access token then, can I somehow parse it to know at what time it will expire?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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