Created
September 9, 2014 05:21
-
-
Save hupili/95aea677c543a920c327 to your computer and use it in GitHub Desktop.
Follow all Twitter users on a page
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
$('.user-actions-follow-button').filter(':not(.cancel-hover-style)').click() |
Go to one's "follower" page and follow all its followers by the following line in Chrome Console:
$('.user-actions-follow-button span [class="Icon Icon--follow"]').filter(':visible').click()
Nice !
Do you know how put a sleep between each click ?
$('.user-actions-follow-button span [class="Icon Icon--follow"]').filter(':visible')
returns an array of items. Just loop through and add delay for each iteration.
Another way is to use setTimeout
to invoke the click
function and randomise the actions.
what if i want to ignore verified users?
This simple script to easily Follow | Unfollow Twitter Followers | Unfollowers at once works like a charm.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Go to a list where there are many following buttons and run the snippet in Chrome developer tool's console, e.g. https://twitter.com/steffenbauch/lists/blackhat2014/members