unable to specify multiple permissions on facebook using passportjs
app.get('/auth/facebook', passport.authenticate('facebook', { scope: [
'email','publish_actions','user_birthday' ] }));
app.get('/auth/facebook/callback',
passport.authenticate('facebook', {
failureRedirect: conf.failureRedirect || '/'
}), exports.redirectOnSuccess);
};
No comments:
Post a Comment