How to Mass Follow or Unfollow Twitter Users

July 8, 2018 Jonathan Kidder No comments exist

Fail Whale

I have a love vs. hate relationship with Twitter. It’s a great place to reach out to a lot of users at once with content. However, there’s a lot of bots and sometimes it can be a time waster. If used correctly, it’s a great place to network and find potential leads for your roles. A Talent Sourcer job is never ending so when I discovered these Twitter hacks from a user on Github (Jamie Mason) and I was certainly impressed.

 

Here’s how to mass unfollow & follow twitter users using code:

 

Twitter Hacks

 

How to unfollow those who don’t follow you back:

  1. Login into Twitter
  2. Go to the list following page: http://www.twitter.com/following
  3. Open your browser console page (Press ctrl + shift + J)
  4. Scroll down to the bottom page of your follower’s list. 
  5. Or, you can use this code to auto-scroll to the bottom:

setInterval(function() {
window.scrollTo(0, document.body.scrollHeight);
}, 2000)


     6. Copy and Paste this code in the console:


$(‘.ProfileCard-content’).each(function(){
var status = $(this).find(‘.FollowStatus’).text();
var unfollowButton = $(this).find(‘.user-actions-follow-button’);
if(!status){unfollowButton.click();
}});


How to follow everyone on your list or someone elses Followers at once:

  1. Follow steps 1-4
  2. Copy and paste this code in the console:

__cnt__=0; jQuery(‘.Grid-cell .not-following .follow-text’).each(function (i, ele) { ele = jQuery(ele); if (ele.css(‘display’)!=’block’) {console.log(‘already following:’, i); return;} setTimeout(function () {ele.click();}, __cnt__++*500); });


How to unfollow everyone all at once:

  1. Follow steps 1-4
  2. Copy and paste this code in the console:

setInterval(function() {
window.scrollTo(0, document.body.scrollHeight);
}, 2000);


 

Please let me know if you have any questions in the comment section below!

 

 

Recommended Reading:

How to Use Mail Merge to Recruit Candidates

Boolean Strings to Source Female Candidates

How to Automate LinkedIn Using Phantombuster

 

Jonathan Kidder
Follow me

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.