Access_token status

Hi,

How I can get the status of access_token to determine if its expired or how
much time left for its expiry.

Thanks

Hi Faisal,

Apologies for the delayed response, your query slipped through the net.

When you exchange your refresh_token for an access_token, we send an
expires_at timestamp as part of the response.

I’d suggest storing this timestamp so you know when your access token is
due to expire.

If you make a request using an expired token, you’ll receive a 401 response
from the server, which indicates the token has expired and needs to be
refreshed.

Hope this helps!On Tuesday, 24 May 2016 13:47:27 UTC+1, Faisal Saleem wrote:

Hi,

How I can get the status of access_token to determine if its expired or
how much time left for its expiry.

Thanks