Skip to content

Instantly share code, notes, and snippets.

View icze4r's full-sized avatar
💭
estoy loopin'

Margaret Gel icze4r

💭
estoy loopin'
View GitHub Profile
Adapted(?) from https://gist.github.com/aymericbeaumet/d1d6799a1b765c3c8bc0b675b1a1547d
How to do this:
* Navigate to https://twitter.com/settings/blocked/all
* Go into Console (I use Chrome) and put this in
let autoUnlike = setInterval(() => {
for (const d of document.querySelectorAll('div[data-testid="unlike"]')) {
d.click()
}
If you have like 30,000+ people blocked, unblocking them is damned near impossible. Twitter provides no tool for it and no application is going to be able to get away with unblocking everybody without running into severe API limits(?). By that I mean, you're going to start getting into trouble for sending too many requests to the server. You don't want that, because that's going to log you out of your account, and even possibly suspend you.
Someone has already provided the code to unblock Twitter accounts: https://lucahammer.com/2018/08/09/unblock-all-blocked-twitter-accounts-at-once
But I found that it goes too fast. You run into limits. I have no idea what limitations there are in the API for how many people you can unblock. But this script seems to unblock 20-30 people at a time.
I've tested unblocking people for 6 hours at a polling rate of 60 seconds (it unblocks 20-30 people and advances the page so you can unblock more). I did not get rate-limited; I did not get in trouble. I have also tested unbloc
@icze4r
icze4r / cruelty-free-cat-facts.json
Last active May 24, 2022 00:59 — forked from aetheryx/facts.json
Cat Facts in JSON
[
"A 2007 Gallup poll revealed that both men and women were equally likely to own a cat.",
"A cat almost never meows at another cat, mostly just humans. Cats typically will spit, purr, and hiss at other cats.",
"A cat called Dusty has the known record for the most kittens. She had more than 420 kittens in her lifetime.",
"A cat can jump 5 times as high as it is tall.",
"A cat can jump up to five times its own height in a single bound.",
"A cat can spend five or more hours a day grooming himself.",
"A cat can sprint at about thirty-one miles per hour.",
"A cat can travel at a top speed of approximately 31 mph (49 km) over a short distance.",
"A cat cannot see directly under its nose.",

Keybase proof

I hereby claim:

  • I am icze4r on github.
  • I am icze4r (https://keybase.io/icze4r) on keybase.
  • I have a public key whose fingerprint is 756A FD1D B16A 52F0 DF5D 655C CF33 DC2B 3209 ED0C

To claim this, I am signing this object: