• DELETE ALL FACEBOOK PAGES (UPDATE!)

    For those who took the survey, thank you! Right now, it's at 47% Yes, 53% No based on close to 100 responses. I'll create the video & report if it goes above 55% Yes.

    I am also exploring different payment options so I can offer it for free somehow. I'll keep you guys updated as I add some stuff to the survey. Watch this space for updates!
  •  

Get Updates Via RSS

RSS Feed
Whaz Iz RSS?

Get Updates Via Email

Can You Delete All Your Facebook Fan Pages With Imacros?

By Cynthia On January 14, 2010 Under Facebook

I get this question a lot from people who want to delete Facebook pages, the same way you delete all Facebook groups (from a script I posted earlier).

I had a bit of time last week to look into it, and I’m sad to say despite all my efforts and intelligence, I could not get it to work. :( sadface.

Here was a simple imacros script I thought would delete Facebook pages in THEORY:

VERSION BUILD=6111228 RECORDER=FX
TAB T=1
URL GOTO=http://www.facebook.com/friends/?ref=tn#/friends/?filter=oc –> Go to Friends (at the top of Facebook), then click on Pages
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:remove&&VALUE:Remove –> Click the X to remove the fan page
WAIT SECONDS=2 –> Wait 2 seconds and repeat the same thing over and over again!

I ran the script, and nada! Damn it. I tried recording the deleting with other click modes, but none of them could do it.

Why it doesn’t work

Unlike Facebook groups, which seems to have a page of its own, Facebook Pages is generated dynamically from the Friends section (if you go to the url http://www.facebook.com/friends/?ref=tn#/friends/?filter=oc, you will know what I mean.

I don’t know my coding terms, so I can’t explain what it is – ajax, maybe?! But however it’s generated, it will not allow imacros to run a script that will delete them all.

It sucks. I’m really hoping that its me lacking in skills and there really is a way to delete all those annoying pages. If so, please leave a comment (if you have a working script), or if you find another blog that teaches you how to do it, let me know.

Updates!!!!

I made a tiny mistake in the imacros script for removing all Facebook email notifications. It’s missing a line:

TAG POS=1 TYPE=INPUT:CHECKBOX FORM=ACTION:http://www.facebook.com/editaccount.php?notifications ATTR=ID:notif_setting_email_profile_pic_request CONTENT=NO

I just added an updated version of the script, so go check it out here.

11 comments - add yours
Frankie

January 25, 2010

Hey, I was able to get the problem resolved!
Its a simple little fix to your script.

All you have to do is add “#” at the end of the link of the script.
So here’s the working script:

VERSION BUILD=6311226 RECORDER=FX
TAB T=1
URL GOTO=http://www.facebook.com/friends/?filter=oc#
FRAME F=0
TAG POS=8 TYPE=A ATTR=TXT:
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:remove&&VALUE:Remove

Cynthia

January 25, 2010

@Frankie – Thanks for posting the script but maybe it’s just me but I can’t get it to work.

When I run it, it says “SyntaxError: wrong format for TAG command, line 5″

Any idea what that’s about? Do you get any errors?

Hope you subscribed to comments, come back and let’s try to fix it… you’re getting me excited thinking it can be done :D

Frank

January 26, 2010

Weird.. It worked for me, I actually uses it to remove about 800 fan pages. The only time I get an error is when it has to change to another page of the list.

Frankie

January 26, 2010

Thats Weird. It worked really nice for me, in fact , I deleted 800 pages with it XP.
The only time I get an error is when it switches to a new page of the list.

SirShadowwolf

January 31, 2010

haha i just used a macro like this:

VERSION BUILD=6500125 RECORDER=FX
TAB T=1
URL GOTO=http://www.facebook.com/friends/?filter=oc#/friends/?filter=oc
TAG POS=7 TYPE=A ATTR=TXT:
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:remove&&VALUE:Remove
TAG POS=7 TYPE=A ATTR=TXT:
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:remove&&VALUE:Remove
TAG POS=7 TYPE=A ATTR=TXT:
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:remove&&VALUE:Remove
TAG POS=7 TYPE=A ATTR=TXT:
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:remove&&VALUE:Remove

@gge

February 7, 2010

none of them worx for me :’(

@gge

February 7, 2010

it worked!! thx sirshadowwolf! the problem was that my facebook is in swedish, and its a different macro, swe version:
TAB T=1
URL GOTO=http://www.facebook.com/friends/?filter=oc#/friends/?filter=oc
TAG POS=7 TYPE=A ATTR=TXT:
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:remove&&VALUE:Tabort
TAG POS=7 TYPE=A ATTR=TXT:
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:remove&&VALUE:Tabort
TAG POS=7 TYPE=A ATTR=TXT:
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:remove&&VALUE:Tabort
TAG POS=7 TYPE=A ATTR=TXT:
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:remove&&VALUE:Tabort

Brian

February 13, 2010

Try this:
VERSION BUILD=6500125 RECORDER=FX
TAB T=1
URL GOTO=http://www.facebook.com/profile.php?v=info&ref=profile&id=100000749446913#!/profile.php?v=info&ref=profile&id=100000749446913
CLICK X=480 Y=476
TAG POS=1 TYPE=A ATTR=TXT:RemoveMefromFans

alex

March 1, 2010

try this:
you have to click on ‘account’ on the top right hand corner, then click ‘edit friends’, then down the left hand side, click ‘pages’, and then u can see all ur fan pages

then

VERSION BUILD=6600217 RECORDER=FX
TAB T=1
TAB CLOSEALLOTHERS
URL GOTO=http://www.facebook.com/profile.php?id=1391620523#!/friends/?filter=oc
TAG POS=6 TYPE=A ATTR=TXT:
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:remove&&VALUE:Remove

Cynthia

March 1, 2010

Hey everyone, sadly I can’t get any of the scripts above to work.

I’ve been getting runtime errors like:
RuntimeError: element INPUT specified by NAME:remove&&VALUE:Remove was not found, line: 7

Btw, I’m using FF 3.5.8 and Imacros version 6.6.0.1. I have no idea why it’s not working for me.

What version of firefox and imacros are you guys using?

Also – if anyone else couldn’t get the scripts to work above, comment below and let me know your version as well. I’m trying to figure out what’s the missing piece here.

Ficholas Norneris

March 9, 2010

Hello Cynthia and all,

I as well cannot run any of these script – getting same errors as you report, and am on the same versions of the Addon and FF as you. I could not get the script to delete a single fan page before returning an error.