Here is a response to my attempt to validate user's access_token
.
{
"data": {
"app_id": 409277239141609,
"is_valid": true,
"application": "Les \u00e2mes vagabondes",
"user_id": 100003752867359,
"issued_at": 1353410808,
"expires_at": 0,
"scopes": ["create_note", "email", "manage_pages", "photo_upload", "publish_actions", "publish_stream", "share_item", "status_update", "user_birthday", "user_interests", "user_likes", "user_photos", "video_upload"]
}
}
It says that the access_token
is valid, though does not give the expires_at
timestamp. How do I get the expires_at
then?
To invalidate a Page or User access token, the person that created the token will need to remove and then re-add the App. This will invalidate all access tokens created by that person for the App.
Debug-Token /debug_token. This endpoint returns metadata about a given access token. This includes data such as the user for which the token was issued, whether the token is still valid, when it expires, and what permissions the app has for the given user.
Little late to the party.. but I guess it means the access_token
does not expire (eg. you're the developer of the Facebook App).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With