DEV Community

Duarte Martins
Duarte Martins

Posted on

How to delete your Facebook account in 2021

Originally on: santiagomartins.com

There are several reasons to consider deleting Facebook. A couple good ones are user privacy and psychological impact. First, as a company it has been fairly hostile to user privacy concerns, even when controlling for the fact that as a major platform it attracts more scrutiny than the vast majority of other software companies. Second, as a platform it works a bit like a slot machine, in that it promotes addictive behaviours and keeps you from engaging in deep work.

A few things might keep you from wanting to fully leave, however if you're reading this in all likelihood you don't use Facebook to the same extent you once did, considering that their key market is now the less tech-native segment of the baby-boomer generation. Many people have found that they don't feel like they're missing out on anything of value after leaving the platform, and I include myself among those that have enjoyed adopting a more minimalist approach to their digital lives.

A relevant concept here is Dunbar's number - a suggested cognitive limit to the number of people with whom one can maintain stable social relationships - named after British anthropologist Robin Dunbar. That number is 150, however it's worth bearing in mind that is the upper limit. In reality, most of us never come close to maintaining 150 close relationships at any one time.

Should you want to go ahead with deleting your account, there are a few things worth considering. One of Facebook's main uses is as a reminder for your friends' birthdays, so we want to make sure we export its calendar. Another thing we might want to do is a bit of privacy-focused prevention: delete our posts, leave all groups, download and delete our photos, and unlike all of our liked pages. This is in case Facebook's ghost profiles turn out to be a real practice, and the evidence seems to suggest they are. Ghost profiles are accounts that Facebook creates, with information it contains on people that aren't signed up to the platform. Finally, we might want to let our contacts know that we're leaving the platform and ask them to not upload any photos or information about us, should privacy be a concern.

  1. Download all photos
  2. Download Facebook's calendar
  3. Unfriend, unlike, and delete all photos
  4. Announce departure

1: Download all photos

It's fairly easy to export all of the photos you uploaded by simply using using Facebook's download your information tool. It's less easy to download photos you've been tagged in. For this you'll have to use some external tools, and most likely have to make use of a little programming.

The first and most simple option is using one of these IFTT recipes:

If for whatever reason you want to use another alternative you can follow this tutorial. Essentially go to your photos page at facebook.com/me/photos and run this JS script in your browser console to get the "FBIDs" of your photos:

for (link of document.getElementsByTagName('a')) { 
    if (!link.href.includes("?fbid=")) continue; 
    console.log(new URL(link.href).searchParams.get("fbid")); 
    }
Enter fullscreen mode Exit fullscreen mode

Then feed that list to this python script which downloads your photos.

I would recommend then hosting your photos on another cloud-hosting provider such as Apple Photos.

2: Download Facebook's calendar

You can use this Chrome extension for that, it's quite straightforward.

3: Unfriend, unlike, and delete all photos

There are quite a few command line interfaces that can help you with this:

Another strategy is to scramble the information before you delete your account, however this requires a fair bit more time and programming some custom scripts.

4: Announce departure

As a final step I suggest announcing to your network that you're leaving the platform, leaving alternative contact details and requesting that others don't upload photos of you.
The process should take a few days to complete on Facebook's end, at which point your data is supposedly deleted from their servers.

Now enjoy being away from the platform - try to select for high value activities to do in your free time, and notice how you'll focus more on your most meaningful and rewarding relationships.

Top comments (0)