Monday, October 17, 2016

How to debug facebook Access Token

In the previous articles we have seen “How to build your own facebook app?” and “How to create Facebook Access Token?”. Now in this article we will focus on how to debug facebook access token
There are two ways for debugging the facebook access token.
  1. You can directly use “Access Token Debugger”
  2. You can use “Access Token Tool” to debug access token of each individual facebook app
And we will look on “How to extend the validity of Facebook Access Token?”
Let begin one by one
1.“Access Token Debugger” – This is one of simplest method to debug any facebook access token.
debug-accesstoken-2016-10-17-18-40-11
    • Enter your access token and click on the debug button and it will show you all the statstics of you access token
    • There one more ways by which you can directly append “Accesstoken” at the end of URL and it will debug it. For example “https://developers.facebook.com/tools/debug/accesstoken?q=YOUR_ACCESS_TOKEN&version=v2.8”
2.“Access Token Tool” – If you have created multiple facebook app on your developers account than you can follow this step to debug the access token of each individual facebook app.
8.Debug-access-token
    • Now go down the screen and click on “Access Token Tool”
9.Debug-access-token
    • Now you can see all the facebook app which you have created previously on this page. Just find the app which you have created and click on the “Debug” button located in front of Access Token.
10.Debug-access-token
    • Once you will click on the “Debug” button you will redirected to “Access Token Debugger” screen.
debug-accesstoken-2016-10-17-18-40-11

How to extend the validity of Access Token?


After the facebook has upgraded its UI of Access Token debugger, we can now easiy just go and click on the “Extend Access Token” button located just below the “Access Token Debugger” screen.And you are go to go with extended Access Token.
Hope you have liked this article. Please feel free to drop your comments.

1 comment:

  1. I am very much pleased with the contents you have mentioned. I wanted to thank you for this great article. I enjoyed every little bit part of it and I will be waiting for the new updates.
    Facebook app development companies

    ReplyDelete