- Create a Facebook App at developer.facebook.com to obtain an App ID and App Secret
- Put your App ID and App Secret into the
facebookAuth
variable
var facebookAuth = {
'clientID' : '', // facebook App ID
'clientSecret' : '', // facebook App Secret
'callbackURL' : 'http://localhost:8099/auth/facebook/callback'
};
Remember to update callbackURL
if you deploy your server to the cloud!
Documentation of Passport can be found here.