Skip to content

Instantly share code, notes, and snippets.

@igorfelipeduca
Created September 2, 2024 01:44
Show Gist options
  • Save igorfelipeduca/3d5d9cb0fe0a4ded749f39f28eb2efb2 to your computer and use it in GitHub Desktop.
Save igorfelipeduca/3d5d9cb0fe0a4ded749f39f28eb2efb2 to your computer and use it in GitHub Desktop.
follow all people from a person's following list
const followButtons = document.getElementsByClassName("css-175oi2r r-1loqt21 r-1otgn73 r-1fuqb1j r-11f147o r-gu64tb")
for(const button of followButtons) {
if(button.innerText == "Follow") button.click()
}
@igorfelipeduca
Copy link
Author

disclaimer: this script will only follow the people that are visible in your screen.

in order to follow a larger number of profiles, keep scrolling the page to its very bottom

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment