-1

I am using passport to login user. If they have logged in using facebook. Does passport return all the information needed to use the facebook graph api? Is there something else I need to do before using the api?

1
  • Why the down vote? Was the question not clear?Can I add more to improve it?
    – Leo
    May 20, 2015 at 18:14

1 Answer 1

0

The access token is returned by passport.

providerUserProfile.providerData.accessToken

You can then use that as parameter to graph api.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.