Package Exports
- twitter-auto-retweet
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (twitter-auto-retweet) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Twitter-Auto-Retweet is a nodejs package to retweet on twitter using browser automation. It currently runs only on windows.
Installation
npm install twitter-auto-retweet
Example
In this example we first import package, then we login with cookies and then retweet on twitter.
var twitter=require("twitter-auto-retweet");
function calback(){
twitter.retweet('tweet url','tweet text')
}
twitter.login_cookie(cookie_list,calback)
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-retweet");
Login with credentials
twitter.login(username,password)
Login with cookies
twitter.login_cookie(list_of_cookies)
Retweet
twitter.retweet('tweet url','tweet text')
Cookies
To login with cookies Edit this Cookie Extension can be added to browser