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:
How to unfollow those who don’t follow you back:
- Login into Twitter
- Go to the list following page: http://www.twitter.com/following
- Open your browser console page (Press ctrl + shift + J)
- Scroll down to the bottom page of your follower’s list.
- 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:
- Follow steps 1-4
- 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:
- Follow steps 1-4
- 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
- Unleashing the Power of AI in Talent Sourcing: Meet Noon - May 17, 2024
- Demystifying Natural Language Search: Crafting Effective Boolean Strings - April 26, 2024
- The Art of Context: Why Rushing to Conclusions Can Lead Us Astray - April 25, 2024