I hacked together this little example using sails, passport, passport-facebook.