Last active
November 1, 2024 20:25
-
-
Save thomasrstegelmann/6e459898dc3640bf921c to your computer and use it in GitHub Desktop.
I modified Karan's script to follow only profiles that match a certain keywords to follow only relevant accounts. Please see https://medium.com/marketing-102/how-i-grew-from-300-to-5k-followers-in-just-3-weeks-2436528da845#.75mau0pj9 for details
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a = setInterval(function () { | |
window.scrollTo(0,document.body.scrollHeight); | |
$(".ProfileCard-userFields").each( function() { | |
if($(this).find('.ProfileCard-bio').text().match(new RegExp("google|twitter|airbnb|entrepreneur|founder|tech|growthhacking|hacking|official|consultant|analytics|ecom|startup|ceo|ux|seo|ecommerce|growth"), "g") !== null ) | |
{ | |
$(this).parent().find('.not-following .user-actions-follow-button.js-follow-btn').click(); | |
} | |
} ); | |
}, 1000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First of all, make sure that you are on
/followers
page e.g =>https://twitter.com/uber/followers
Open the developer console whiles you on that page and paste the following code