Category — Facebook
Delete Facebook Inbox Messages (NEW)
Here is the new code I have got working for automatically deleting multiple Facebook messages from the Facebook message inbox.
Please note you have to do the following to make it work with your own set up: -
- Check the ‘Version Build’ Number matches that of your iMacro version
- Make sure your Facebook is set to use https (secure browsing setting)
- Re-run if it hits a fault that it does not get past – this has happened to me however it is not so often and makes the deleting of messages much easier than the multi click per message option
- Don’t forget to archive any messages you want to keep – you’ll have to do this manually to be able to choose what to keep of course!
- You’ll need the iMacros add-on for Firefox to use this script..
iMacros plugin for Firefox can be found through a link on this page
FYI: Whilst you may delete your messages from private messages and chats, if the other person in the conversation does not delete theirs Facebook still has a copy.
You will notice that there are 5 sections to the code, one for each vowel so that it picks up the link to each friends name to know the message to click. Facebook uses the full message ID which will not allow multiple deletes. Loop the iMacro to delete more than five messages.
If anyone can tell me why Facebook does not allow us to turn off chat recording or have a delete all messages option I would love to now!
The code that is currently working for me is below. I just tested it by copying and pasting it into a new iMacro within Firefox and saving under a new name and it is working well.
If you like the code and it is working for you, please share or link to this page, thank you.
VERSION BUILD=7300701 RECORDER=FX
TAB T=1
URL GOTO=https://www.facebook.com/messages/
TAG POS=1 TYPE=STRONG ATTR=TXT:*a*
WAIT SECONDS=1
SET !ERRORIGNORE YES
TAG POS=1 TYPE=A ATTR=TXT:Actions
WAIT SECONDS=1
SET !ERRORIGNORE YES
TAG POS=1 TYPE=SPAN ATTR=TXT:Delete<SP>Messages…
WAIT SECONDS=1
SET !ERRORIGNORE YES
TAG POS=1 TYPE=SPAN ATTR=TXT:Delete<SP>All
WAIT SECONDS=1
SET !ERRORIGNORE YES
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:delete&&VALUE:Delete<SP>conversation
WAIT SECONDS=1
SET !ERRORIGNORE YES
TAG POS=1 TYPE=STRONG ATTR=TXT:*e*
WAIT SECONDS=1
SET !ERRORIGNORE YES
TAG POS=1 TYPE=A ATTR=TXT:Actions
WAIT SECONDS=1
SET !ERRORIGNORE YES
TAG POS=1 TYPE=SPAN ATTR=TXT:Delete<SP>Messages…
WAIT SECONDS=1
SET !ERRORIGNORE YES
TAG POS=1 TYPE=SPAN ATTR=TXT:Delete<SP>All
WAIT SECONDS=1
SET !ERRORIGNORE YES
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:delete&&VALUE:Delete<SP>conversation
TAG POS=1 TYPE=STRONG ATTR=TXT:*i*
WAIT SECONDS=1
SET !ERRORIGNORE YES
TAG POS=1 TYPE=A ATTR=TXT:Actions
WAIT SECONDS=1
SET !ERRORIGNORE YES
TAG POS=1 TYPE=SPAN ATTR=TXT:Delete<SP>Messages…
WAIT SECONDS=1
SET !ERRORIGNORE YES
TAG POS=1 TYPE=SPAN ATTR=TXT:Delete<SP>All
WAIT SECONDS=1
SET !ERRORIGNORE YES
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:delete&&VALUE:Delete<SP>conversation
TAG POS=1 TYPE=STRONG ATTR=TXT:*o*
WAIT SECONDS=1
SET !ERRORIGNORE YES
TAG POS=1 TYPE=A ATTR=TXT:Actions
WAIT SECONDS=1
SET !ERRORIGNORE YES
TAG POS=1 TYPE=SPAN ATTR=TXT:Delete<SP>Messages…
WAIT SECONDS=1
SET !ERRORIGNORE YES
TAG POS=1 TYPE=SPAN ATTR=TXT:Delete<SP>All
WAIT SECONDS=1
SET !ERRORIGNORE YES
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:delete&&VALUE:Delete<SP>conversation
TAG POS=1 TYPE=STRONG ATTR=TXT:*u*
WAIT SECONDS=1
SET !ERRORIGNORE YES
TAG POS=1 TYPE=A ATTR=TXT:Actions
WAIT SECONDS=1
SET !ERRORIGNORE YES
TAG POS=1 TYPE=SPAN ATTR=TXT:Delete<SP>Messages…
WAIT SECONDS=1
SET !ERRORIGNORE YES
TAG POS=1 TYPE=SPAN ATTR=TXT:Delete<SP>All
WAIT SECONDS=1
SET !ERRORIGNORE YES
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:delete&&VALUE:Delete<SP>conversation
January 18, 2012 2 Comments
Facebook Clean My Wall
If you want to clean posts from your Facebook wall you can avoid the tedious process of several clicks for each post to be deleted.
Go to the Facebook Wall Cleaner page and drag the link to your bookmarks or bookmark toolbar.
Then go to your Facebook profile page and click on the bookmark.
Select the number of posts to keep (delete up until) leaving your most recent posts in place.
January 13, 2012 No Comments
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‘
June 13, 2011 11 Comments
Delete Facebook Messages
If you’ve made it here you have probably been searching for a method to delete all your stored messages in Facebook now that they have decided by default to keep a copy of all your messages and chats. Facebook has not only failed to offer an option not to keep a copy of these messages or an easy method to delete them for some reason they feel it is for them to choose to store a copy on their servers and make it hard remove them.
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
In my personal effort to remove as much data from Facebook as possible (after listening to the Julian Assage interview about Facebook’s links to and access given to US government departments) I decided to delete all my old messages. Whilst I have nothing to hide, it begs the question why do they need open access to all our personal data?
More background information here
Having used iMacros before to delete all my old wall posts I decided this would be a suitable method. I hit a stumbling block pretty early on however we managed to find a workaround that really works.
The problem was Facebook has all the links for opening each archived message as unique links to be clicked. The iMacro would not initially handle these automatically as (after recording the sequence in iMacros) it goes back to look for the previous deleted link. We got around this by sending the iMacros script to look for the next vowel within a link. With some more editing of the code we now have (until Facebook changes everything again) a working script to use in iMacros that automatically deletes all your archived messages. It runs in a cycle deleting the messages one at a time so it is easy to stop the deletions at any time.
To be sure not to delete any messages you wish to keep, ensure you have your messages you wish to retain in either your ‘inbox’ or ‘other’ folder within the messages area.
Get the code here.. Delete Facebook Messages using iMacro
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
June 13, 2011 11 Comments
Facebook Messages & Chat
Facebook has recently (and is still) changing accounts over to their new messaging system. I have read that they only do this if you confirm when asked, however I was never asked and am stuck with it as there is no known way to go back to the old Facebook messaging system.
The new format stores all messages in your inbox as well as adding any Facebook chats to the list of stored messages in your message inbox.
As there is no button or option to deselect storing of your Facebook chat messages I guess the only way to stop this is to stop using Facebook for chatting with your friends. Not so easily done if that is your regular method for keeping in touch.
The plot thickens.. Facebook also makes it difficult for you to delete your chat messages, the method to do so being as follows: -
Go to your Facebook message inbox
Click on the ‘x’ on the right hand side of each message to send them to the archive folder
(you will need to do this for each and every message you want to delete)
Once in your archive folder you can delete each message, but wait, it’s not so easy, the method for doing this is as follows: -
Go to inbox archive via the drop down to the left hand side of the search box (magnifying glass icon)
Click to open each message
Click to action button (top right hand side of message body)
Click delete messages in the drop down
Click to delete all at the foot of the message box
Click to delete conversation
Not so hard? Now continue the same process for the numerous pages of messages you have in your inbox or stored in your archived folder.
The above is the easiest solution we are aware of being provided by Facebook. In our frustration we have come up with another method to take the time and hassle out of this tedious process.
June 13, 2011 No Comments