iMacro Code to Delete Facebook Messages

Here is the iMacro code that worked pretty quickly for deleting all my archived Facebook messages and chats. Just copy and paste the code below into an iMacro file and save with your preferred name. Then (whilst logged into Facebook) double click the file in iMacros to run the script.
Firstly if you do not have it the iMacros plugin for Firefox can be found through a link on this page
Then add the following code into an iMacro file (.iim) and save with a new name. Please check the build number in one of your exisiting sample iMacro files as if you have a different build you may have to change this.

Please note the code below no longer works due to Facebook making changes to their code. New code is here .. Delete Facebook Messages From Inbox
Code edited to overcome more Facebook changes on 29/06/2011
VERSION BUILD=7220523 RECORDER=FX
URL GOTO=https://www.facebook.com/#!/?sk=inbox&query=is%3Aarchived
TAG POS=1 TYPE=STRONG ATTR=TXT:*a*
WAIT SECONDS=1
SET !ERRORIGNORE YES
TAG POS=1 TYPE=SPAN ATTR=TXT:Actions
TAG POS=1 TYPE=SPAN ATTR=TXT:Delete<SP>messages…
TAG POS=1 TYPE=SPAN ATTR=TXT:Delete<SP>all
WAIT SECONDS=1
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:delete&&VALUE:Delete<SP>conversation
URL GOTO=https://www.facebook.com/#!/?sk=inbox&query=is%3Aarchived
WAIT SECONDS=1
TAG POS=1 TYPE=STRONG ATTR=TXT:*e*
WAIT SECONDS=1
SET !ERRORIGNORE YES
TAG POS=1 TYPE=SPAN ATTR=TXT:Actions
TAG POS=1 TYPE=SPAN ATTR=TXT:Delete<SP>messages…
TAG POS=1 TYPE=SPAN ATTR=TXT:Delete<SP>all
WAIT SECONDS=1
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:delete&&VALUE:Delete<SP>conversation
URL GOTO=https://www.facebook.com/#!/?sk=inbox&query=is%3Aarchived
WAIT SECONDS=1
TAG POS=1 TYPE=STRONG ATTR=TXT:*i*
WAIT SECONDS=1
SET !ERRORIGNORE YES
TAG POS=1 TYPE=SPAN ATTR=TXT:Actions
TAG POS=1 TYPE=SPAN ATTR=TXT:Delete<SP>messages…
TAG POS=1 TYPE=SPAN ATTR=TXT:Delete<SP>all
WAIT SECONDS=1
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:delete&&VALUE:Delete<SP>conversation
URL GOTO=https://www.facebook.com/#!/?sk=inbox&query=is%3Aarchived
WAIT SECONDS=1
TAG POS=1 TYPE=STRONG ATTR=TXT:*o*
WAIT SECONDS=1
SET !ERRORIGNORE YES
TAG POS=1 TYPE=SPAN ATTR=TXT:Actions
TAG POS=1 TYPE=SPAN ATTR=TXT:Delete<SP>messages…
TAG POS=1 TYPE=SPAN ATTR=TXT:Delete<SP>all
WAIT SECONDS=1
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:delete&&VALUE:Delete<SP>conversation
URL GOTO=https://www.facebook.com/#!/?sk=inbox&query=is%3Aarchived
WAIT SECONDS=1
SET !ERRORIGNORE YES
TAG POS=1 TYPE=STRONG ATTR=TXT:*u*
WAIT SECONDS=1
SET !ERRORIGNORE YES
TAG POS=1 TYPE=SPAN ATTR=TXT:Actions
TAG POS=1 TYPE=SPAN ATTR=TXT:Delete<SP>messages…
TAG POS=1 TYPE=SPAN ATTR=TXT:Delete<SP>all
WAIT SECONDS=1
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:delete&&VALUE:Delete<SP>conversation
URL GOTO=https://www.facebook.com/#!/?sk=inbox&query=is%3Aarchived
WAIT SECONDS=1
SET !ERRORIGNORE YES
Code edited to overcome more Facebook changes on 29/06/2011
The steps then required are: -
Go to Messages Inbox
Move individual messages to archive folder by pressing the ‘x’ on the right hand side (It is very fast and easy to go through your messages with one click for each)
Go to Messages Archived Folder
Run iMacro script file
Back to ‘Delete Facebook Messages

Postingan terkait:

close