@dqn/tw-xauth
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @dqn/tw-xauth

Weekly Downloads

5

Version

1.0.1

License

ISC

Unpacked Size

6.91 kB

Total Files

9

Last publish

Collaborators

  • dqn