One of the most frequently asked for “How-To” requests from developers is how to handle invalid access tokens. Access tokens for users can become invalid due to various reasons. In most cases, they can expire if it’s past the time specified by the ‘expires’ field (by default access token have a 2 hour lifetime). What many developers do not realize is that an access token can also expire if a user changes her password, logs out or if she de-authorizes the app via the App Dashboard. It is very important that your apps handle such situations. If your access token expires, you need to reacquire a valid access token.
This post will walk you through how you can ensure that you are handling and recovering from these situations gracefully.
first step
copy and paste code below on your addes bar (note: login into your fb acount before )
you will seen blank page and bad eror ..but dont panic :) follow next step
Look your addres bar seem below
Now you've got your token..got luck buddy ..enjoy your BOT :P
0 komentar:
Post a Comment