0.0.6 • Published 2 years ago

@iheredia/tweet-bot v0.0.6

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

tweet-bot

Bot that uses Twitter api's to tweet text strings and gifs

NPM

Installation

npm install @iheredia/tweet-bot

Usage

const TweetBot = require('@iheredia/tweet-bot');
const secrets = { // Replace with your own! 
  "consumer_key": "",
  "consumer_secret": "",
  "access_token_key": "",
  "access_token_secret": ""  
};
const tweetBot = new TweetBot({secrets: secrets});

tweetBot.tweet({
  status: 'Hello world',        
});

tweetBot.tweet({
  status: 'Hello world - with a gif attached',
  mediaPath: '/path/to/my/image.gif',        
});

tweetBot.tweet({
  status: 'I can also be verbose',
  verbose: true        
});
0.0.6

2 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

6 years ago

0.0.1

6 years ago