Twitter-Auto-Unfollower is a nodejs package to unfollow user on twitter using browser automation. It currently runs only on windows.
Installation
npm install twitter-auto-unfollower
Example
In this example we first import package, then we login with cookies and unfollow a user.
var twitter=require("twitter-auto-unfollower");
function unfollow_user(){
twitter.unfollow('profile link of user')
}
twitter.login_cookie(cookie_list,unfollow_user)
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-unfollower");
Login with credentials
twitter.login(username,password)
Login with cookies
twitter.login_cookie(list_of_cookies)
Unfollow user
twitter.unfollow('profile link of user')
Cookies
To login with cookies Edit this Cookie Extension can be added to browser