diff --git a/README.md b/README.md index 0228446..72c06ac 100644 --- a/README.md +++ b/README.md @@ -85,11 +85,13 @@ as a starting point for their own web applications. ##### How do I ask a user for additional permissions? If you need additional permissions from the user, the permissions can be -requested via the `scope` option to `passport.authenticate()`. +requested via the `scope` option to the Strategy. ```js app.get('/auth/facebook', - passport.authenticate('facebook', { scope: ['user_friends', 'manage_pages'] })); +passport.use(new FacebookStrategy({ + scope: ['user_photos'], + (...) ``` Refer to [permissions with Facebook Login](https://developers.facebook.com/docs/facebook-login/permissions/overview)