Is there an API equivalent of the Facebook Access Token linter/debugger?

后端 未结 4 918
轻奢々
轻奢々 2020-12-30 08:56

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 in

相关标签:
4条回答
  • 2020-12-30 09:24

    This is now possible with the debug_token endpoint

    https://developers.facebook.com/docs/authentication/access-token-debug/

    0 讨论(0)
  • 2020-12-30 09:36

    No, it doesn't exist I'm afraid. What were you wanting it for ooi??

    0 讨论(0)
  • 2020-12-30 09:39

    Unfortunately, no.

    You can get a JSON response from the URL debugger by adding &format=json to the URL, but this doesn't work currently for the access_token debugger.

    Could file a bug for it!

    0 讨论(0)
  • 2020-12-30 09:47

    It's possible. Now you can check what information is associated with the access token you have. Simply Fire this URL:

    https://graph.facebook.com/debug_token?input_token={input-token}&access_token={access-token}
    input_token: the access token you want to get information about
    access_token: your app access token or a valid user access token from a developer of the app
    

    Source https://developers.facebook.com/docs/facebook-login/access-tokens/

    0 讨论(0)
提交回复
热议问题