Deleting the past… on Facebook

There's a good chance this content may be outdated!

This post is 5 years old—a long time on the internet. Any content within is provided as-is and is not guaranteed to work on modern systems - your mileage may vary.

DANGER, WILL ROBINSON! DANGER! THIS ARTICLE IS OVER A YEAR OLD AND IS POSSIBLY OUT OF DATE! THE INFORMATION CONTAINED WITHIN MAY NOT BE ACCURATE ANYMORE! PROCEED WITH CAUTION!

UPDATED 9/1 – NEW VERSION OF SCRIPT

Yes, Facebook is sketchy… have you seen their “privacy” settings?! Maybe you don’t want to entirely delete your Facebook, that’s understandable, but maybe you just want to delete all that incriminating evidence or you just don’t want to allow Facebook to get their hands on all that information. Like I posted in my anti-cloud rant, do you really know where your data is? Take for example The IT Cave and my personal blog. This data is on a  dedicated server in one of Softlayer’s data centers. That means, if I really wanted to, I could buy the hard drives from Softlayer and have them shipped to me. My data could be in my hands. Or I could put a ticket in to have Softlayer destroy the drives in the server. The data is mine and I control it. If I don’t want anyone to see it, I can remove it… or even shut the server down… or even restrict it.

Cloud services, yes, Facebook included, don’t give you this kind of control. Hell, Facebook even makes it difficult to mass delete stuff. See, in the business of Facebook you are the product! Yes, Facebook sells you for money. Services like Google Plus, don’t do this. To Google, you are a user. A friend. Not an item to be bought, sold, rented, traded, etc. And Google gives you some excellent control over your data. Anyways, enough rambling… on to deleting Facebook data!

So to proceed, you will need a web browser that supports the plugin, iMacros. I did this with Firefox, but the addon might be available on Chrome and other browsers… I’m not too sure. If not, just go with Firefox.

Once you have iMacros installed, login to Facebook and if you have timeline, go to your Activity Feed. No one can see this page but you… but its a log of every action you’ve made on Facebook. Now, iMacros can be used to mass delete photos, friends, wall posts, etc. Anyways, one of the issues is that Facebook updates their code… constantly. They don’t like you doing this so they try to make it difficult. I’ll try to keep this code up-t0-date, but as of August 31, 2012,  it’s working.

Create a new macro. I’m giving you the code, so you can do anything you like on the page. Once you have the macro, edit it. Delete the current code. Copy and paste this code in:

VERSION BUILD=7500718 RECORDER=FX
TAB T=1
SET !ERRORIGNORE YES
TAG POS=8 TYPE=I ATTR=CLASS:mrs<SP>defaultIcon<SP>customimg<SP>img<SP>sp_8fqrt7<SP>sx_033ffa
TAG POS=1 TYPE=SPAN ATTR=TXT:Delete...
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:ok&&VALUE:Delete
TAG POS=8 TYPE=I ATTR=CLASS:mrs<SP>defaultIcon<SP>customimg<SP>img<SP>sp_8fqrt7<SP>sx_033ffa
TAG POS=2 TYPE=SPAN ATTR=TXT:Unlike...
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:ok&&VALUE:Unlike
TAG POS=8 TYPE=I ATTR=CLASS:mrs<SP>defaultIcon<SP>customimg<SP>img<SP>sp_8fqrt7<SP>sx_033ffa
TAG POS=2 TYPE=SPAN ATTR=TXT:Unlike...
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:ok&&VALUE:Unlike
TAG POS=8 TYPE=I ATTR=CLASS:mrs<SP>defaultIcon<SP>customimg<SP>img<SP>sp_8fqrt7<SP>sx_033ffa
TAG POS=1 TYPE=A ATTR=TXT:Delete...
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:ok&&VALUE:Delete
TAG POS=8 TYPE=I ATTR=CLASS:mrs<SP>defaultIcon<SP>customimg<SP>img<SP>sp_8fqrt7<SP>sx_033ffa
TAG POS=2 TYPE=SPAN ATTR=TXT:Unlike...
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:ok&&VALUE:Unlike
TAG POS=1 TYPE=A ATTR=ID:js_9
TAG POS=1 TYPE=A ATTR=TXT:Delete...
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:ok&&VALUE:Delete
TAG POS=8 TYPE=I ATTR=CLASS:mrs<SP>defaultIcon<SP>customimg<SP>img<SP>sp_8fqrt7<SP>sx_033ffa
TAG POS=1 TYPE=SPAN ATTR=TXT:Delete...
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:ok&&VALUE:Delete
TAG POS=8 TYPE=I ATTR=CLASS:mrs<SP>defaultIcon<SP>customimg<SP>img<SP>sp_8fqrt7<SP>sx_033ffa
TAG POS=1 TYPE=SPAN ATTR=TXT:Delete<SP>Photo...
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:ok&&VALUE:Delete<SP>Photo
TAG POS=8 TYPE=I ATTR=CLASS:mrs<SP>defaultIcon<SP>customimg<SP>img<SP>sp_8fqrt7<SP>sx_033ffa
TAG POS=1 TYPE=SPAN ATTR=TXT:Delete...
TAG POS=1 TYPE=LABEL ATTR=TXT:Delete<SP>all<SP>app<SP>activity
TAG POS=1 TYPE=INPUT:CHECKBOX ATTR=ID:u7wfrn_1 CONTENT=YES
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:ok&&VALUE:Delete
TAG POS=8 TYPE=I ATTR=CLASS:mrs<SP>defaultIcon<SP>customimg<SP>img<SP>sp_8fqrt7<SP>sx_033ffa
TAG POS=1 TYPE=SPAN ATTR=TXT:Unlike...
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:ok&&VALUE:Unlike
TAG POS=8 TYPE=I ATTR=CLASS:mrs<SP>defaultIcon<SP>customimg<SP>img<SP>sp_8fqrt7<SP>sx_033ffa
TAG POS=1 TYPE=SPAN ATTR=TXT:Delete...
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:ok&&VALUE:Delete
TAG POS=8 TYPE=I ATTR=CLASS:mrs<SP>defaultIcon<SP>customimg<SP>img<SP>sp_8fqrt7<SP>sx_033ffa
TAG POS=1 TYPE=SPAN ATTR=TXT:Hidden<SP>from<SP>Timeline
TAG POS=2 TYPE=I ATTR=CLASS:mrs<SP>itemIcon<SP>img<SP>sp_8fqrt7<SP>sx_dd4fa3<SP>customimg
TAG POS=2 TYPE=SPAN ATTR=TXT:Hidden<SP>from<SP>Timeline
TAG POS=8 TYPE=I ATTR=CLASS:mrs<SP>defaultIcon<SP>customimg<SP>img<SP>sp_8fqrt7<SP>sx_033ffa
TAG POS=3 TYPE=SPAN ATTR=TXT:Hidden<SP>from<SP>Timeline
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:ok&&VALUE:Okay

Ok, here’s what this code does…

  1. It ignores errors so it won’t stop on you.
  2. It runs through your feed and deletes, presses ok if Facebook pops some errors… etc.

This code might miss a few things or get hung up. I’ve tried to make it as automated as possible. If you have a lot, it will take a LONG time to delete everything. Let it run over night… or over the course of several days if you have a lot of stuff. Once it’s done, go back and hit up everything that it missed! 🙂

 

5 Comments

  1. Hey this would be great, but I don’t think it works with lastest facebook changes. I would really love to find a solution to deleting all my info, I would even pay for it!! Any ideas

    Thanks,
    Danny

    • Yes, Facebook keeps changing their code around (weekly it seems). So you’d have to use the same concept to update. This was valid.

    • I might go back through. The problem is it is very time consuming and Facebook constantly updates values to prevent this from happening. I might publish an update later on.

      • Hi Travis,

        yes if you would have a new code to delete all timeline content, would love it as well.

        isnt there a community or site that constantly publishes the latest version to delete the timeline.

        Should be quite a big demand for it.

        All the best,

        Lars

Leave a Reply