Skip to content
New issue

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

How can I get access token #53

Open
vanhung89 opened this issue Jun 8, 2016 · 3 comments
Open

How can I get access token #53

vanhung89 opened this issue Jun 8, 2016 · 3 comments
Labels

Comments

@vanhung89
Copy link

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

@ghaiklor
Copy link
Collaborator

ghaiklor commented Jun 9, 2016

@morenoh149
Copy link
Contributor

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

@Onheiron
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants