Lượt xem 0 Nhận xét

How to delete, make expired Facebook Access Token

Cập nhật: 02 thg 5, 2018 9:16 SA
Facebook access tokens is really great and useful. And we have many method to request facebook for an Access token. Some method you just have to log out your facebook account, or change your password to delete (make expired) your old access token.

However have one way that can generate a token that "never" die even when you change your password, delete old login session or even when you yourself lock your facebook account, it still alive when you reopen your account. The name of this type token is endpoint token. So how to delete this type if Facebook Access Token?



To delete this type endpoint token, you need to send request to facebook. How ?

Firstly, you need to have your Facebook UID. Go to your facebook wall and copy your facebook's URL. then go to findmyfbid.com and paste the link on the box and press Find Numeric ID.




And this is your Facebook ID.



Next, copy this link :

https://graph.facebook.com/v2.7/FB_ID/permissions?method=delete&access_token=TOKEN

Then replace FB_ID with your Facebook ID and TOKEN with the token you want to make expired. (this token must belong to this facebook ID)

After that, copy and paste your link to your browser's URL bar and hit enter.

And if result is Success : true, it means Facebook deleted your token. 



Good luck.