Skip to content
This repository has been archived by the owner on Apr 10, 2018. It is now read-only.

ptariche/SailsJS-Facebook-Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic example to intergrate Facebook with Sails.JS

Please follow the instructions on sailsjs.org to launch SailsJS.

In order to utilize the application, please modify: config/middleware.js; change the CLIENTID and CLIENTSECRET.

            passport.use(new FacebookStrategy({
            clientID: "CLIENTID",
            clientSecret: "CLIENTSECRET",
            callbackURL: "http://localhost:1337/auth/facebook/callback",
            },

Please run npm install before lifting Sails.

Sails.JS is an impressive Node.JS Framework, and I've been playing around with it for the last two-weeks. I hope you enjoy and utilize this framework as much as I do.

Note: The current settings are built to use Mongo. You can change to local by changing the adapter settings.

About

Deprecated Facebook Connect Sails.JS example

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published