passport-facebook-token icon indicating copy to clipboard operation
passport-facebook-token copied to clipboard

How can I get access token

Open vanhung89 opened this issue 9 years ago • 3 comments

I code as below passport.use(new FacebookStrategy({ clientID: MY_CLIENT_ID, clientSecret: MY_SECRET_ID }, function(accessToken, refreshToken, profile, done) { console.log(profile); console.log(accessToken); return done(null, profile); } )); But it doesn't work. It doesn't print any data Can you help me

vanhung89 avatar Jun 08 '16 17:06 vanhung89

@vanhung89 read the README - https://github.com/drudge/passport-facebook-token#client-requests

ghaiklor avatar Jun 09 '16 06:06 ghaiklor

@vanhung89 is your issue resolved? if so please close.

morenoh149 avatar Jan 29 '19 22:01 morenoh149

It's not clear how to specify custom headers or custom body fields. I don't see any option to pass the custom field name to the strategy.

Onheiron avatar Jul 27 '20 09:07 Onheiron