Is there a graph API equivalent of the Facebook Access Token linter/debugger that I can call programmatically?
The linter is nice. It tells you all sorts of cool information about the token you have, such as the permissions granted (available to me via me/permissions
), the issue and expiration dates, the App ID, App name, profile Id, User Id, User Name, if it is valid (available to me if I try to call /me
and watch for the exception returned), and the origin.
App ID: APP ID : APP NAME
Profile ID: PAGE NAME
User ID: ID : NAME
Issued: 1328916821 : 3:33 pm Feb 10 2012
Expires: 1334100821 : 4:33 pm Apr 10 2012
Valid: True
Origin: Web
So how about it? Is there a programmatic way to get this info without having to resort to screenscraping the linter tool?