1.0.1 • Published 4 years ago

@dqn/tw-xauth v1.0.1

Weekly downloads
2
License
ISC
Repository
-
Last release
4 years ago

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