Token not found what is it
Content
Access Tokens: Debugging and Error Handling Getting Info about Tokens and Debugging When working with an access token, you may need to check what information is associated with it, such as its user or expiry.
To get this information you can use our debug toolor you can use the API endpoint. The tokens must be from the same app.
Handling Errors Facebook will not notify you that an access token has become invalid. Unless you have sent the expiry time to your app along with the access token, your app may only learn that a given token has become invalid when you attempt to make a request to the API.
Due to security related events, access tokens may be invalidated before the expected expiration time. In most apps, the best way to handle expired tokens is to capture the error messages thrown by the API.
For more information on codes and subcodes please see the error code reference doc. The login flow your app uses for new people should determine which method you need to adopt.
App Authorization Error Sample Response When someone has revokes authorization or has never authorized your app, the error response will be the same as for a person who is new to your app. Specifically, you can call response. Learn More You can read about 5 option theory errors in our API Error reference but these three errors are the most common when dealing with access tokens.
Follow Us.