Closed rwky closed 5 years ago
@jaredhanson Any chance we can get this merged and released soon-ish? 🙂 Let me know if I can do anything to help!
Is this repository still maintained or should we use a fork which already includes version 2.12?
Doesn't look like this is going to merged anytime soon. You can also force API 2.12 by modifying the authorizationURL
, profileURL
and tokenURL
parameters.
passport.use(new FacebookStrategy({
clientID: FACEBOOK_APP_ID,
clientSecret: FACEBOOK_APP_SECRET,
callbackURL: "http://localhost:3000/cb",
profileURL: 'https://graph.facebook.com/v2.12/me',
authorizationURL: 'https://www.facebook.com/v2.12/dialog/oauth',
tokenURL: 'https://graph.facebook.com/v2.12/oauth/access_token'
},
function(accessToken, refreshToken, profile, cb) {
...
}
));
I've published passport-facebook@3.0.0
to npm. This version updates to the latest version of Graph API, v3.2. It includes an equivalent graphAPIVersion
option, the casing changed to match conventions througout the rest of this and other passport strategies.
Closing.
Supersedes #220 #199