Developing an app using node.js, mongodb, express and using passport to autheticate users on facebook , I would like to know if I can restrict "default permissions" to login on facebook,
this is the function to call facebook API
function facebookSignIn(req, res, next) {
passport = req._passport.instance;
passport.authenticate('facebook', function(err, user, info) {
})(req,res,next);
};
and after this request, facebook API responses with an advice message:
MyAPP will receive the following information from you: public profile and friends list.
and I would like only the public profile and not the friends list.
Desired message:
MyAPP will receive the following information from you: public profile