It is a project to implement facebook token login on nodejs. It includes frontend (html and javascript) login user, to get user information and access_token, then passing the asscess_token to localhost:3000/login to server for more action.
npm install
//public/login_2.html
appId: 'appId',
//routes/index.js
clientID : FACEBOOK_APP_ID,
clientSecret : FACEBOOK_APP_SECRET
- localhost:3000/login_2.html
- /login
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
TODO: Write history
Some of the examples from: https://developers.facebook.com, https://www.npmjs.com/package/passport