I am able to retrieve basic user information via passport-facebook, following the below code and saving in mongodb:
app.get(\"/auth/facebook\", passport.authenti
2020 solution
Get users accessToken from passportjs passport-facebook strategy. Use this token to get json with a url for an users avatar:
https://graph.facebook.com/me/picture?access_token=${accessToken}&&redirect=false