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

https://github.com/olithissen/twitter-oob

A Node.js CLI app to obtain Twitter credentials in "out of band" mode
https://github.com/olithissen/twitter-oob

Last synced: 2 months ago
JSON representation

A Node.js CLI app to obtain Twitter credentials in "out of band" mode

Awesome Lists containing this project

README

        

[![build status](http://img.shields.io/travis/olithissen/twitter-oob.svg)](https://travis-ci.org/olithissen/twitter-oob)
[![npm version](http://badge.fury.io/js/twitter-oob.svg)](http://badge.fury.io/js/twitter-oob)
[![Download Count](https://img.shields.io/npm/dm/twitter-oob.svg)](http://www.npmjs.com/package/twitter-oob)
[![DepShield Badge](https://depshield.sonatype.org/badges/olithissen/twitter-oob/depshield.svg)](https://depshield.github.io)

# twitter-oob

> A Node.js CLI app to obtain Twitter credentials in "out of band" mode

## When to use it
If you ever want to write an application that connects to Twitter
but you don't want to provide everything needed for a full-scale OAuth process like
callback URLs and such. (And if you want to register your app on **account A** but use it
with **account B**)

## How it works
For cases like these Twitter has a nice feature called "out of band" or obb authentication.
Using your apps *consumer key* and *consumer secret* you can generate a *request token* that
can be passed to Twitter as an URL-parameter.

Instead of performing a callback to your backend you will receive a PIN-code for verification. A PIN-code that can then be used to obtail the final *access token* and *access token secret*

## How to use it
### Install
```
npm install twitter-oob -g
```

### Run
```
twoob auth
```