Alejandro
Rioja.
Hire me →
Marketing

Twitter Scripts: Accept all Follower Requests, Unfollow, Like All Tweets, and more

Since my last post about some Facebook scripts was very well received, I decided to make a similar one for Twitter. Enjoy! Over time, I will be adding more scripts. Let me know which ones you want next! ? 1. Accept all your Twitter follower requests ? Ever wanted to accept all your Twitter follower…

Alejandro Rioja
Alejandro Rioja
Updated 3 min read
TL;DR

Twitter is a social media platform that allows you to communicate with anyone in the world. With the right script, you can easily manage your Twitter account.

Table of contents

Open Table of contents

1. Accept all your Twitter follower requests ?

Ever wanted to accept all your Twitter follower requests easily?

Here’s how you can. You got 2 options:

  1. Make your Twitter public

To make your Twitter public, Go to More > Settings > Privacy and Safety > Then untick the “Protect Your Tweets Box”

that should do the trick!

Another method is running the auto accept follower script below

Steps

  1. Open the javascript console (cmd + shift + J)
  2. Paste the code and hit enter

var inputs = document.querySelectorAll(‘div.css-901oao.r-1awozwy.r-13gxpu9.r-6koalj.r-18u37iz.r-16y2uox.r-1qd0xha.r-a023e6.r-vw2c0b.r-1777fci.r-eljoum.r-dnmrzs.r-bcqeeo.r-q4m81j.r-qvutc0’); for(var i=0; i < inputs.length; i++) { inputs.click(); }

If you are curious about the code does, here it is:

The first line var inputs document.querySelectorAll( ..) finds all “Accept” buttons next to your follower requests

The next line for( ..) , loops for all the found buttons

and finally inputs.click(); clicks on all buttons

2. Unfollow all Twitter Followers ?

If you really care about your follower/following ratio, then you can use this script to unfollow everyone on Twitter:

var inputs = document.querySelectorAll(‘div.css-18t94o4.css-1dbjc4n.r-urgr8i.r-42olwf.r-sdzlij.r-1phboty.r-rs99b7.r-1w2pmg.r-1vsu8ta.r-aj3cln.r-1fneopy.r-o7ynqc.r-6416eg.r-lrvibr’); for(var i=0; i < inputs.length; i++) { inputs.click(); }

Don’t worry, it will ask you to confirm one by one

Bottom line

Hope you found these Twitter growth hacking tips and scripts useful!

I plan to add more scripts here over time, but wanted to get some out quickly.

Let me know which script you need next and I will make it happen. Just drop a comment below.

Here are other scripts you might enjoy:


This guide is part of alejandrorioja.com — written by Alejandro Rioja, who now builds AI agent systems for founders. Including the agent that keeps this site current. How it works →

Updated for May 2026

X (the platform formerly known as Twitter, rebranded July 2023) has continued reshaping the surface area. As of 2026:

For 2026 growth: ~611M MAU per X’s last self-reported number (April 2025). Engagement still favors threaded, citation-friendly posts that get quoted by ChatGPT and Perplexity — the “X as feeder for AI engines” play is the dark-horse 2026 SEO move.

Keep reading

Related essays

Keep reading

Get the GEO Playbook in your inbox

Every Wednesday. 28,400+ operators. Zero fluff.

Subscribe →