Can You Delete All Your Facebook Fan Pages With Imacros?

comment 25 Comments Written by Cynthia on January 14, 2010 – 5:49 pm

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.

Check Out More Posts:

Here Are Some Related Posts:

25 Comments on “Can You Delete All Your Facebook Fan Pages With Imacros?”

  1. 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

    By Frankie on Jan 25, 2010 | Reply
  2. @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

    By Cynthia on Jan 25, 2010 | Reply
  3. 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.

    By Frank on Jan 26, 2010 | Reply
  4. 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.

    By Frankie on Jan 26, 2010 | Reply
  5. 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

    By SirShadowwolf on Jan 31, 2010 | Reply
  6. none of them worx for me :’(

    By @gge on Feb 7, 2010 | Reply
  7. 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

    By @gge on Feb 7, 2010 | Reply
  8. 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

    By Brian on Feb 13, 2010 | Reply
  9. 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

    By alex on Mar 1, 2010 | Reply
  10. 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.

    By Cynthia on Mar 1, 2010 | Reply
  11. 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.

  12. I also had problems running some of the above scripts.

    I did record my own and it appears to work, i have no idea how.

    Here’s the code:

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

  13. hello everyone,

    great posts so far .
    the qeuestion i have is : How can I shut down a facebook fan page I didn´t create ?? Somebody else did it , don´t know who and I don´t agree with the content of the page about me .

  14. None of these worked for me so I just recorded my own which works. It is:

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

    And Lidy Sixx you just click the Report Button.

    By Matthew on May 29, 2010 | Reply
  15. This works. Perfectly.

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

  16. Matthew’s above worked for me. Thanks Matthew!

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

    By Lynn K. on Jun 16, 2010 | Reply
  17. Thanks Matthew, this worked for me :) ))

  18. Heyy everyone, so I figured out one that works for me. It stuffs up occassionaly but all you have to it pause it, reload the page and then start it again.

    to do so firstly, go to profile > info > edit likes/interest > view more pages

    and then use this macro

    VERSION BUILD=7000908 RECORDER=FX
    TAB T=1
    URL GOTO=http://www.facebook.com/operationchristmaschild.anz#!/editprofile.php?sk=interests
    TAG POS=1 TYPE=SPAN ATTR=TXT:RemovePage
    TAG POS=1 TYPE=SPAN ATTR=TXT:RemovePage

    By Saasha on Oct 4, 2010 | Reply
  19. how do you use a script??!

  20. sorry to be really thick but how do you use these codes? i have no idea where to type them

    By Dean Heckley on Mar 5, 2011 | Reply
  21. I think I’ve found a simpler method

    first goto edit profile then click on “Activities and Interests” and click on show other pages.

    thn use the following code

    VERSION BUILD=7110203 RECORDER=FX
    TAB T=1
    URL GOTO=http://www.facebook.com/#!/editprofile.php?sk=activities
    TAG POS=1 TYPE=SPAN ATTR=TXT:RemovePage

    and choose Play (Loop) set the max loop value around 80000 and then sit bak and relax :) )

    By Sami Burgaz on Mar 5, 2011 | Reply
  22. Ive found a solution for those of us with slower internet speeds :D
    Paste this into your Macro:

    VERSION BUILD=7300701 RECORDER=FX
    TAB T=1
    URL GOTO=http://www.facebook.com/editprofile.php?sk=activities
    TAG POS=1 TYPE=A ATTR=TXT:ShowOtherPages
    WAIT SECONDS=10
    TAG POS=1 TYPE=SPAN ATTR=TXT:RemovePage
    TAG POS=2 TYPE=SPAN ATTR=TXT:RemovePage
    WAIT SECONDS=2
    TAG POS=2 TYPE=SPAN ATTR=TXT:RemovePage
    TAG POS=2 TYPE=SPAN ATTR=TXT:RemovePage
    WAIT SECONDS=2
    TAG POS=2 TYPE=SPAN ATTR=TXT:RemovePage
    TAG POS=2 TYPE=SPAN ATTR=TXT:RemovePage

    The Problem I was experiencing was that the Macro was initializing before the page had time to load, thus it couldnt find the remove page icon it was looking for, by giving it some loading time, I found this worked perfectly!

    By Josh on Jul 9, 2011 | Reply
  23. for me it’s work like this , just change “nadhirlove” with “yourprofileurl”
    VERSION BUILD=7401110 RECORDER=FX
    TAB T=1
    URL GOTO=http://www.facebook.com/nadhirlove/favorites#
    TAG POS=4 TYPE=SPAN ATTR=CLASS:uiButtonText&&TXT:Jen’aimeplus
    TAG POS=5 TYPE=SPAN ATTR=CLASS:uiButtonText&&TXT:Jen’aimeplus
    TAG POS=6 TYPE=SPAN ATTR=CLASS:uiButtonText&&TXT:Jen’aimeplus
    TAG POS=6 TYPE=SPAN ATTR=CLASS:uiButtonText&&TXT:Jen’aimeplus
    TAG POS=6 TYPE=SPAN ATTR=CLASS:uiButtonText&&TXT:Jen’aimeplus
    TAG POS=6 TYPE=SPAN ATTR=CLASS:uiButtonText&&TXT:Jen’aimepl

    Rejouer la macro
    Actuel : 1 max : 10000000000
    than click on [ jouer (Répéter)]
    good luck

  24. I wish to delete my facebook account as from now.

    valerei purton

    By valerie purton on Apr 29, 2012 | Reply
  25. THIS ONLY WORK FOR FACEBOOK GROUP NEW VERSION 07/06/2012
    THIS ONLY WORK FOR FACEBOOK GROUP NEW VERSION 07/06/2012
    THIS ONLY WORK FOR FACEBOOK GROUP NEW VERSION 07/06/2012

    TAB T=1
    SET !ERRORIGNORE YES
    SET !TIMEOUT 10
    SET !DIALOGMANAGER NO
    URL GOTO=https://www.facebook.com/groups/151285950854/members/
    CLICK X=844 Y=342
    CLICK X=844 Y=358
    CLICK X=844 Y=368
    CLICK X=846 Y=380
    CLICK X=846 Y=404
    CLICK X=844 Y=419
    TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:remove&&VALUE:Remove
    TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:confirm&&VALUE:Confirm
    WAIT SECONDS=2

    THIS ONLY WORK FOR FACEBOOK GROUP NEW VERSION 07/06/2012
    THIS ONLY WORK FOR FACEBOOK GROUP NEW VERSION 07/06/2012
    THIS ONLY WORK FOR FACEBOOK GROUP NEW VERSION 07/06/2012

    By fRANCESCO on Jun 7, 2012 | Reply

Share what's on your mind:

New here? Read This!

Somehow you stumbled upon my site (it's fate!). This site is meant to do 2 simple things: give me a writing outlet (for topics that don't fit on my other niche sites), and help you solve a problem I have already solved. Check out the sitemap to get an overview of everything I posted.

Unfortunately I don't have the time to update this site much, but if you have a specific question - leave a comment in one of the posts, and perhaps someone else knows the answer. Thanks for stopping by! <3