try this way:
- updated items' query, made it more specific
Conversation
not working sadly, here's the error message :/
1
1
You’re unable to view this Tweet because this account owner limits who can view their Tweets. Learn more
that's a bit weird. try refreshing the page and then pasting functions separately (say, from Justin's gist)
1. refresh the page -> open console
2. paste "sleep" -> press "enter"
3. paste "deleteLikedVideos" -> press "enter"
4. type deleteLikedVideos() -> press "enter"
2
2
ah this is probably relevant: whenever i open the console on that page now it spews out a ton of errors related to the other scripts i tried to run already, and idk how to stop those scripts 😅 closest button i can find pauses everything but doesn't kill?
1
1
nah, man) it doesn't work this way))
those errors are probably because you have some extension turned on - say, adblock or autoplay
every time you refresh a page and open a console - it's a fresh start, a new workspace, a "clean table"
2
1
the initial error, "deleteLikedVideos is not defined" was caused because the function wasn't, for some reason, in the scope of the opened console - not on the table
i suggested refreshing page and redefining functions one by one so that it's guaranteed to have it in the scope
1
1
i mean, some scripts/pages/extensions do store some data and when you reload the page said scripts may use this stored data
but they do start anew and they don't [usually] interfere with a devtools' console
1
3
okay i disabled my blockers *and* pasted it in 3 chunks like you suggested earlier and it's working now! thanks for all your help man, really appreciate it, you legitimately saved me some carpal tunnel here (had over 600 likes i wanted to delete) 🙏
1
1
2
qc, bb, it's not over yet)
liked videos are loaded in chunks of ~100 videos, so if you want to delete 1000 likes, you'll have to (XOR):
- scroll page to trigger the load of 9 more chunks
- refresh -> execute 9 more times
1
1
yep just ran into that, not a big problem, still a lot easier than doing it manually
and i tried pasting the whole thing at once and that works fine now so i guess it was the extensions. i disabled adblock, uBlock, video speed controller, and vanilla cookie manager
1
1

