facebookarchive / fbconsole

A micro api client for writing scripts against the Facebook Graph API.
Other
325 stars 74 forks source link

Handle expired access tokens #2

Closed pcardune closed 12 years ago

pcardune commented 12 years ago

We currently do not handle the expiry of access tokens. So if it's been a while since you've run the script, it will stop working for no apparent reason. fbconsole.authenticate() should check the expiry first.