chirp-bearer
v0.0.1
Published
Obtain application-only authentication token (bearer token) via twitter api
Downloads
5
Readme
chirp-bearer
Simple module to generate an application-only auth token for twitter.
Install
npm install --save chirp-bearer
Usage
var bearer = require('chirp-bearer')('my_consumer_key', 'my_consumer_secret');
bearer.get(function (err, token) {
console.log('got token: ', token);
});