• UPDATE (Aug 9, 2010)

    Hi guys, there won't be any new content in the next few months, especially related to any Facebook stuff. I'm really tied up with a couple of other websites I'm developing. When things die down, I'll be back with more awesome imacros scripts. Until then - keep your info private & don't post things you don't want to go public! - Cynthia
  •  

Get Updates Via RSS

RSS Feed
Whaz Iz RSS?

Get Updates Via Email

Posts Tagged ‘delete groups facebook’

How To Delete All Facebook Groups And Wall Posts From Facebook Using Imacros

By Cynthia On August 29, 2009 117 Comments

A little story time before we get into the technical details.

I have an old unused Facebook account that I was actively on for the past 2 years. But I stopped using it at a point because there was too much group spam in my Facebook inbox. You know those annoying groups that send you messages once per day, multiply that by X number of groups you have, then multiply it by about 10%, and you get an inbox full of crap you don’t really care about – daily.

I was busy at the time, and I was simply too lazy to delete my groups manually. So I abandoned the profile, opened a new one, and added back people I wanted to keep in touch with.

Fast forward to today. I now know how to use imacros for automating a lot of my tasks! Armed with this new knowledge, I created a simple imacros script, looped it about 200 times, walked away to get some snacks, came back…Done!

All 200 something Facebook Groups are gone from my profile! Okay with the exception of 3 groups that I created myself. Those are still there. But my profile is now spic and span.

It is so damn cool I cannot express it in words. You really just need to try it yourself.

I repeated the same thing with deleting wall posts – this was a little more buggy, but I still managed to get it to work. It messes up at some point and shows “failures” but that’s alright. Better than deleting all of them manually one by one. You’d get carpel tunnel in no time from that.

Download Imacros

If you don’t know what imacros is, you might want to read up on it here. It looks a bit intimidating at first, but imacros is seriously the easiest automation software/plugin to use.

I recommend imacros for Firefox. You can install the plugin here.

To open up imacros in the sidebar, press F8. Once you’ve got imacros on your Firefox, do a mock record – meaning, go to Play > Record > Then click Stop right away. Then click Save. Enter a descriptive name for it like “delete Facebook groups .” You should now see it in the left sidebar. Right click on the .iim file and go to “edit macro.”

The Imacros Script (Delete All Facebook groups)

Paste in:

VERSION BUILD=6111228 RECORDER=FX <– note that this line will be different if you have a different version of imacros
TAB T=1
SET !ERRORIGNORE YES
SET !TIMEOUT 100
SET !DIALOGMANAGER NO
TAG POS=1 TYPE=A ATTR=TXT:Leave<SP>Group
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:remove&&VALUE:Remove
WAIT SECONDS=2

Now you should be already on the Facebook Groups page itself BEFORE running this macro. When I ran it, there was one instance of a timeout, but that didn’t stop the script itself, so just click “close” on the timeout notice when you see it and it’ll be fine.

*** IMPORTANT *** Remember to click Play(loop) when running this macro and specify however many groups you have. This will loop the script, so it’ll run X amount of times.

You may be wondering… well, what if I don’t want to delete ALL my groups? Well, then it will be a bit tricky. What I’d do is, open these groups in a new tab, so when you’ve wiped out all the groups, you can add them back easily.

The Imacros Script (Delete All Facebook Wall Posts)

Repeat the same thing. Go to Play > Record > Then click Stop right away. Click save, enter a name, and then edit the .iim file.

Then paste in:

VERSION BUILD=6111228 RECORDER=FX
TAB T=1
SET !ERRORIGNORE YES
SET !TIMEOUT 100
SET !DIALOGMANAGER NO
TAG POS=1 TYPE=SPAN ATTR=TXT:Remove
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:delete_story&&VALUE:Delete
WAIT SECONDS=3
TAG POS=1 TYPE=SPAN ATTR=TXT:Remove
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:delete_story&&VALUE:Delete
WAIT SECONDS=3
TAG POS=1 TYPE=SPAN ATTR=TXT:Remove
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:delete_story&&VALUE:Delete
WAIT SECONDS=3
TAG POS=1 TYPE=SPAN ATTR=TXT:Remove
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:delete_story&&VALUE:Delete
WAIT SECONDS=3
TAG POS=1 TYPE=SPAN ATTR=TXT:Remove
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:delete_story&&VALUE:Delete
WAIT SECONDS=3
REFRESH

You may get multiple errors when running this, that’s why I add in “refresh” at the end of the script so it’ll refresh the page. It’s very likely that you have to make some edits or changes. You may need to click “older posts” on your Facebook wall, especially closer to the end of your wall posts. This script is easy to modify and should be easy to understand. I’m assuming you have at least some basic knowledge of it.

***UPDATE*** (June 15, 2010)
Unfortunately I can’t help you all with your individual questions at the time. If I was lying on a beach in the Bahamas right now, I would definitely go through and try to respond to every question.

But I don’t have that luxury (yet!), so if you have a few minutes to spare, I would scroll through the comments left by other people who got it working. There are a lot of gems here!

Since this script does not include the “older posts” button when I first created it, please scroll down further in the comments for the modifications.