Spotify check if access_token is expired -
a small questions. @ moment i'm using spotify webapi, , want know there web api endpoint check if access_token expired? @ moment i'm using
get https://api.spotify.com/v1/me
to check if access_token expired.
there's no endpoint check how long time there's left until token expires, can use response access token request find out.
as explained in web api authorization guide, response including access token contains
expires_in int time period (in seconds) access token valid.
Comments
Post a Comment