Can You Delete All Your Facebook Fan Pages With Imacros?
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
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.
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.