2 years ago I made the decision to remove all my content on Twitter. Now Mark Zuckerberg announced that Facebook will be a “Free Speech” zone and he was going to remove all fact checkers for political posts. Further, it looks like new guidelines explicitly allows hateful speech towards Transgender people saying that it is just open communication and healthy debate. And because of this I decided to delete all my content on Facebook too. I am not deleting my whole account because the world still runs on Facebook and people rely on it for connections, but I didn’t want my data to be on the site anymore.
Why Script? Mostly because it is the only feasible way to delete all of your content. There is the Facebook API but then I would have to register my application with Facebook, and there is no way that Facebook would approve an app in which the main purpose is to delete all your content on their platform. Using a script will most definitely violate the terms and conditions of Facebook. If you do so it is 100% your choice and I have no responsibility.
Browser Extension As before with Twitter I created a script that will go through all of my Facebook posts, likes, comments, reactions. But given that Facebook usage is a lot more universal than Twitter, I decided to take my scripts and create a browser extension out of it. Again the Browser Extension would never be approved to be published on any web store so it requires a manual installation. While doing this I also added the Twitter deleting script into it so it can do both.
Prepare If you are interested in removing all of your data from Facebook but want to keep your information I would recommend requesting an archive of it. https://accountscenter.facebook.com/info_and_permissions/dyi a This takes several days, and maybe longer than a week for the archive to be prepared so you should do this first thing.
Do the thing There are further instructions at the Github Page where the extension is located.
Clearing Twitter Data
While I am moving off Twitter these are some of the ways you can keep your data safe.
Because of EU regulations that are designed to protect users data and privacy, companies now offer functionality to be able to Download all your data, and also the functionality to Delete all your data easily. While this is only an EU thing, companies have put this out to everyone regardless of geolocation to show good will and to let people know they are taking user data seriously. Or because they wanted to avoid more regulations.
Archive
First of all, if you want to keep your data, you can download an archive of all of your data. Under Settings and Support > Settings and Privacy > Your Account, you should find a link to “Download an archive of your data”. This does take a bit for Twitter to prepare. It can take a few days before the archive is ready. Once it is ready you will get an email with a link to download the archive. (keep this in a safe place!) This is one of the things I was worried could break. Then I would lose all my data.
Deactivating and Deleting Account
Under Settings and Support > Settings and Privacy > Your Account, you should find a link to “Deactivate your Account”. And this setting should allow you to Deactivate and Delete your account. Twitter will still have your data for 30 days, during which you can Reactivate your account if you wish, but after the 30 days they say that your account including all tweets, likes, DMs will be Deleted.
Deleting Tweets and Likes
For me, I actually wanted to keep my account but delete all my tweets and likes. Holding on to my account to be able to still communicate with people and to view others tweets just made sense for me. There are several ways to delete all your tweets.
API script This option is not easy as it involves creating an Application that will systematically delete each of your tweets one by one. But with Twitter now charging money to have API access, this may not be possible anymore. There are a lot of guides and examples out there that shows you how to use the API, but really this is only for experts.
Paid Service There are companies out there that can delete your Tweets for you. This is the way I went about it. I used TweetDelete. This company does use the aforementioned API method to delete all your tweets for you for a small fee. It still has to follow the API restrictions, so using this service, you can only delete 5000 tweets a month. There are ways around this they offer for a higher fee which I did pay for and it did a great job. But their functionality for deleting likes wasn’t working. I think this was because a change on the API or something. The paid services do charge a monthly rate, so make sure to stop that monthly charge once you are done with the service!
Manually So you can go to the Twitter page and manually one by one click on the links to delete all of your tweets and likes. Depending on how many tweets you created and likes you have, this may take a very long time! Those of you with larger accounts good luck with that!
Manually Automatically This is fun. I actually created a script that can run on your browser that will one by one delete all of your tweets and likes by simulating a user sitting there and clicking each button one by one. I done this work because TweetDelete couldn’t remove all my likes. If you do go this route tho, you probably will be breaking your user agreement with Twitter so do so at your own risk.
Scripts
To run these scripts you have to open up the console. Usually done by pressing F12 and clicking on the “Console” Tab. Really a website is an application that runs on your browser window, and the console is a place where you have full control over the website. I mean, you do have full control over your website to begin with, but the console is kinda like doing that on expert mode. Don’t trust anyone who tells you to copy/paste anything unknown here. The script might be malicious.
Delete Tweets
Go to your twitter profile page. So for me that is https://twitter.com/GeekGirl1024 And then open the console like I described above. And copy/paste the following script. When you press enter the script will start and delete all of your tweets one by one. (It is kinda fun to watch it go)
let waitTime = 500;
function OpenMoreMenu() {
let moreButton = document.querySelector("div[aria-haspopup='menu'][aria-label='More']");
if (moreButton) {
moreButton.click();
setTimeout(ClickDelete, waitTime);
} else {
console.log("I can't find anything more to do");
}
}
function ClickDelete() {
let deleteButton = document.querySelector("div[role='menu'] div[role='menuitem']");
if (deleteButton) {
deleteButton.click();
setTimeout(ConfirmDelete, waitTime);
} else {
console.log("I can't find anything more to do");
}
}
function ConfirmDelete() {
let confirmButton = document.querySelector("div[data-testid='confirmationSheetDialog'] div[role='button']");
if (confirmButton) {
confirmButton.click();
setTimeout(OpenMoreMenu, waitTime);
} else {
window.scrollTo(0, document.body.scrollHeight);
setTimeout(OpenMoreMenu, waitTime);
}
}
OpenMoreMenu();
If at any point you want to stop the script you can just refresh the browser window. I wrote this after I already deleted all my tweets, and I posted a new bunch to delete but wasn’t enough to get a load more tweets option. I did add a function to scroll to the bottom. Maybe that loads more tweets? Anyway use however you like.
Delete Likes
Because TweetDelete delete likes functionality was broken, I created this script to automatically delete all my likes one by one. Go to your profile page again and click on “Likes” And then open the console like I described above. And copy/paste the following script. When you press enter the script will start and unliking all of your tweets one by one. (It is kinda fun to watch it go)
let waitTime = 500;
function batchUnlike(isContinue) {
let unlike = document.querySelector("div[data-testid='unlike']");
if (unlike) {
unlike.click();
window.setTimeout(() => { batchUnlike(false) }, waitTime);
} else {
if (isContinue) {
console.log("I can't find anything else to do")
} else {
window.scrollTo(0, document.body.scrollHeight);
window.setTimeout(() => { batchUnlike(true) }, 15000);
}
}
}
batchUnlike(false);
This script is a bit more rudimentary cuz I just threw it together. It does however does auto scroll to load more likes. It just finds all unlike buttons and clicks on them one by one. If it doesn’t find anymore unlike buttons it scrolls down, and waits 15 sec for more tweets to load and keeps going. Refresh your website to stop it running.
Note
If not having enough time between actions, Twitter may detect you acting like a bot or something and start refusing to take your requests. If that is the case then probably adjust the wait time to be slower and run it again later. I think sometimes while you still have more tweets or likes, Twitter won’t give you any more to delete, but there are still more. Those probably were in deep storage somewhere, and gotta let Twitter bring out the most recent ones and you can run the scripts again. The scripts here are super fragile. It relies on it’s capability to find certain buttons. If for some reason Twitter changes their UI or some other things, they may fail to work. Twitter may ban you for using these scripts! Use at your own risk. Don’t come at me asking for help.
My Twitter Exodus
I have been on Twitter (now X) for a long time now. It is the platform where I had the largest reach, and also it was the platform where most political and activist discord was at. But ever since Elon Musk bought Twitter things have been changing.
While far from perfect, Twitter had algorithms and reviewers to remove hateful content including those that are racist, homophobic and transphobic. But Republicans claimed that this algorithm has been designed to de-platform Twitter accounts of Republicans and conservatives. Twitter has recently released the source code for the algorithm and I have taken some time to study it.
While not a full analysis of the entire algorithm, I did find parts of the algorithm that did filter out hateful content, lies, misleading information, violence and many other harmful things. What I have not saw in the algorithm though was in any way targeting Republicans and conservatives in any way. But what I did see was parts of the algorithm that was explicitly intended to check it’s results to see how it compares the impact of Democrats vs Republicans to ensure any changes in the ranking criteria wouldn’t proportionately impact either side.
If many Republicans are complaining that their accounts are not getting as much reach as they used to, I will let you come to your own conclusion as to why.
One of the goals that Elon Musk had when buying Twitter was to open it up for Freedom of Speech. While doing so he un-banned many accounts that were banned for hateful content which also signaled to many Racists, Homophobes, Transphobes, Islamophobes that they would be welcome on Twitter.
Since then, most of the employees have been laid off from Twitter or have voluntary left when given the option to do so. Twitter now has a fraction of their employees left from when Elon Musk took it over. Some people who have been laid off explicitly were asked back because they held critical responsibilities within the company.
I have been noticing a sharp rise of bugs of different functions of Twitter, or outages of the entire platform itself. This is when I decided that I needed to leave Twitter.
From various laws internationally almost all social platforms gives an option for users to download their data, and an option to delete their entire account. But I was concerned that because these are features that are not used regularly deep in the settings if they stopped working it could go unnoticed for a while or de-prioritized as they are very niche functionalities.
I believe that Twitter itself will continue to run for a very long time but while doing so it will slowly accumulate issues till one day it fails. I just had to leave while I was still able to control my content. I am sad to see the current state of Twitter and I will miss it.
Sophia Lee Dev
For a few years now, I have been maintaining a personal blog Trans Girl Theory where I been posting all sorts of things about myself. I live very openly and genuinely and am very transparent online. Most of my online presence is on my Twitter account @GeekGirl1024 and many people follow me on that account. That is my personal account and it is where I tweet everything from Transgender Issues, Feminism, Race, Politics, Technology and Selfies. My followers on Twitter includes Tech Experts, LGBTQIA organizations, Politicians and people who mostly follow Transgender Porn accounts. (My Twitter account is not a transgender porn account) I find it humorous that all of these people from different backgrounds follow me and listen to me talk about all the different aspects of my life. I love being able to talk to such a diverse group of people, and I find it funny to think about Leaders and Experts of Technology looking at my selfies and reading my Transgender shitpostings. But I decided that it would be good if I had a more professional persona where new people would be able to see my skills, talents and the impacts of my work, before they see the more fun, opinionated and silly side of me. I will still be doing my writing, being myself, posting cute selfies all over the internet, but on this site I am going to be a little bit more professional. I will still be linking back and forth between my 2 sites because it is important for me to be genuine, but on this site I will be just have a different emphasis.