We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello
I wish to validate, from my app, a user's acces token. I can do that using the debug_token endpoint in the graph api.
debug_token
I can't figure out how to do that using library. Any pointers?
The text was updated successfully, but these errors were encountered:
I use something in the likes of:
const graph = require('fbgraph'), myApp = { FACEBOOK_APP_ID: 123456, FACEBOOK_APP_SECRET: 'asdfghjkl' }, graph_options = { timeout: 36000, pool: { maxSockets: Infinity, }, headers: { connection: 'keep-alive', } }, user_access_token = 'mjNfsEUdvZCVs67DRld5rEAF1TPcuzfMQLzT251IjhwvZBEp7lMyeagd7ShKUezZCr0pdYghH4yZBLlbMjaGV'; graph.setVersion("2.11") graph.setOptions(graph_options); graph.setAccessToken(`${myApp.FACEBOOK_APP_ID}|${myApp.FACEBOOK_APP_SECRET}`); graph.get(`/debug_token?input_token=${user_access_token}`, function (err, res) { console.log(res); });
Sorry, something went wrong.
No branches or pull requests
Hello
I wish to validate, from my app, a user's acces token. I can do that using the
debug_token
endpoint in the graph api.I can't figure out how to do that using library. Any pointers?
The text was updated successfully, but these errors were encountered: