@dqn/tw-xauth
v1.0.1
Published
Authenticate Twitter account using XAuth.
Downloads
8
Readme
tw-xauth
Authenticate Twitter account using XAuth.
Installation
$ npm install @dqn/tw-xauth
Usage
const { xauth } = require('@dqn/tw-xauth');
xauth({
screenName: 'SCREEN_NAME',
password: 'PASSWORD',
consumerKey: 'CjulERsDeqhhjSme66ECg',
consumerSecret: 'IQWdVyqFxghAtURHGeGiWAsmCAGmdW3WmbEx6Hck',
}).then((res) => {
console.log(res.oauth_token);
console.log(res.oauth_token_secret);
});
License
MIT