Skip to content

canyesilyurt/Twitter-xAuth-Login

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitter xAuth Login w/Proxy for Node.JS

Authenticate Twitter account using XAuth.

Installation

$ npm install cy-twitter-xauth

Usage

const { xauth } = require('cy-twitter-xauth');
// Only sock5 support
xauth({
  screenName: 'SCREEN_NAME',
  password: 'PASSWORD',
  consumerKey: 'CjulERsDeqhhjSme66ECg',
  consumerSecret: 'IQWdVyqFxghAtURHGeGiWAsmCAGmdW3WmbEx6Hck', 
  proxyAddress: '45.155.125.200',
  proxyPort: '9866',
  proxyAuthUser: 'username',
  proxyAuthPass: 'password'
    }).then((cyxauth) => {
      console.log(cyxauth.oauth_token);
      console.log(cyxauth.oauth_token_secret);
    }).catch((err) => {
      console.log(err);
    });

License

Can Yesilyurt & cy4udev

About

Authenticate Twitter account using XAuth for Node.JS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published