Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chrisharrington/node-twitter-sign-in-example


https://github.com/chrisharrington/node-twitter-sign-in-example

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

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.