Twitter-Auto-Tweet-Bot is a nodejs package to post on twitter using browser automation. It currently runs only on windows.
Installation
npm install twitter-auto-tweet-bot
Example
In this example we first import package, then we login with cookies and then post on twitter.
var twitter=require("twitter-auto-tweet-bot");
function tweet(){
twitter.post('Hi everyonne!!! hope doing well')
}
twitter.login_cookie(cookie_list,tweet)
DataKund
datakund is needed for browser automation. As soon as this package is imported in code, automated browser will open up.
Import
var twitter=require("twitter-auto-tweet-bot");
Login with credentials
twitter.login(username,password)
Login with cookies
twitter.login_cookie(list_of_cookies)
Tweet
twitter.post('tweet text')
Cookies
To login with cookies Edit this Cookie Extension can be added to browser