Last active
June 20, 2018 12:46
-
-
Save martinnormark/eb0d1d0b825d4c3f4010 to your computer and use it in GitHub Desktop.
Twitter follow script
This file contains hidden or 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
__cnt__ = 0; | |
jQuery('.stream .js-actionFavorite').each(function(i, ele) { ele = jQuery(ele); if (ele.css('display') != 'inline-block') { return; } setTimeout(function() { ele.click(); }, __cnt__++ * 500); | |
}); |
This file contains hidden or 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
__cnt__ = 0; | |
jQuery('.GridTimeline-items .js-follow-btn').each(function(i, ele) { ele = jQuery(ele); if (ele.find("button:visible").text().indexOf("Following") !== -1) { return; } setTimeout(function() { ele.click(); }, __cnt__++ * 500); | |
}); |
This file contains hidden or 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
// Also works to follow people in search results | |
__cnt__ = 0; | |
jQuery('.GridTimeline-items .js-follow-btn').each(function(i, ele) { ele = jQuery(ele); if (ele.find("button:visible").text().indexOf("Following") !== -1) { return; } setTimeout(function() { ele.click(); }, __cnt__++ * 500); | |
}); |
This file contains hidden or 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
__cnt__ = 0; | |
jQuery('.stream-items .js-actionFavorite').each(function(i, ele) { ele = jQuery(ele); if (ele.css('display') != 'inline-block') { return; } setTimeout(function() { ele.click(); }, __cnt__++ * 500); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Works to follow other account's followers or authors of tweets with a specific hashtag.
More here: https://medium.com/@nicolasleroux/how-to-get-thousands-of-followers-each-month-on-twitter-5c48da048c59