BrennerSpear / node-twitter-sign-in-example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A tiny Express-powered Node.js client for handling Twitter OAuth requests.

Clone, then install modules:

npm install

You'll need to create lib/secret.json that contains your credentials for interacting with Twitter. It should take this format:

{
  "twitter": {
    "consumer_key": "",
    "consumer_secret": "",
    "callbackURL": ""
  }
}

Run the server by executing index.js:

node index

Note: This is just the server-side implementation; you'll need a front-end to actually sign in with Twitter.

About


Languages

Language:JavaScript 100.0%