Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does {expires_at: 0} mean is debug_token response?

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?

like image 926
Gajus Avatar asked Nov 21 '12 11:11

Gajus


People also ask

How to invalidate facebook access token?

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.

What is debug token?

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.


1 Answers

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).

like image 120
joost Avatar answered Sep 29 '22 03:09

joost