Twitter_Unfollowers is a script to track people that recently unfollowed you on Twitter.
- It uses Twitter API to fetch followers of any user (provided as input).
- Then stores it into a
json
file. - When compared again it gives name and number of people that unfollowed.
- (Additionally) : After multiple queries it provides search/query history in tabular form.
- Get your Twitter developer account and follow the steps there to generate your bearer key
- In a file named
apiTokens.js
in the Twitter_Unfollowers folder, enter your bearer key : - Open terminal and do the following :
cd Rotten-Scripts\JavaScript\Twitter_unfollowers
- Run
npm install
to install all necessary dependencies - Run
node Twitter_Unfollowers.js
and Voila! you are ready to go 😉
Hi I'm Madhav Jha author of this script.
- DO NOT forget to get your bearer key from your Twitter developer account and ALWAYS keep it a SECRET!!!
- Do not try for accounts with followers count more than few thousands, even though the script works you will exhaust your twitter API limit before the process ends.