ndx-passport-twitter

0.2.12 • Public • Published

ndx-passport-twitter

twitter login for ndx-framework apps

install with
npm install --save ndx-passport-twitter

example

src/server/app.coffee

require 'ndx-server'
.config
  database: 'db'
.use ndx-passport
.use ndx-passport-twitter
.start()

src/client/../login.jade

a(href='/api/twitter', target='_self') Twitter

environment/config variables

environment config description
TWITTER_KEY twitterKey your twitter key
TWITTER_SECRET twitterSecret your twitter secret
TWITTER_CALLBACK twitterCallback set this to http(s)://yourservername.com/api/twitter/callback
TWITTER_SCOPE twitterScope a list of scopes you want access to

Dependencies (2)

Dev Dependencies (6)

Package Sidebar

Install

npm i ndx-passport-twitter

Weekly Downloads

1

Version

0.2.12

License

MIT

Unpacked Size

14.7 kB

Total Files

9

Last publish

Collaborators

  • ndxbxrme