Fast Tweet
A simple interface to send a tweet with a single nodejs function call.
Install
$ npm install fast-tweet --save
Usage
Fast Tweet adds some methods to the Twitter library.
You can use the tweet
method to send a fast Tweet, and you can use all the methods of Twitter.
Initialization the library (same as Twitter)
let Twitter = ; var client = consumer_key: CONSUMER_KEY consumer_secret: CONSUMER_SECRET access_token_key: ACCESS_TOKEN_KEY access_token_secret: ACCESS_TOKEN_SECRET;
Tweet a single status message:
client;
Tweet a message with image
You have to specify the imagePath
parameter (currently supported only file system images):
client;