Skip to content

Instantly share code, notes, and snippets.

View connorclarklindh's full-sized avatar

Connor Clark-Lindh connorclarklindh

View GitHub Profile
@connorclarklindh
connorclarklindh / facebook_updateswreload_delete_imacros.iim
Created January 22, 2017 12:19
this is a facebook update delete tool that focuses on the "your posts" section. it includes the relevant url and reloads the page before starting. I've noticed that this macro breaks when the updates that you want to delete are more than 2 years old. Use the other update deleter for older posts.
VERSION BUILD=844 RECORDER=CR
URL GOTO=https://www.facebook.com/connorclarklindh/allactivity?privacy_source=activity_log&log_filter=cluster_11
SET POSITION 0
SET LOADWAIT 10
SET DELAY 2
SET !ERRORIGNORE YES
WAIT SECONDS = {{LOADWAIT}}
@connorclarklindh
connorclarklindh / facebook_updates_delete_imacros.iim
Created January 22, 2017 12:11
imacros code to move through a list of facebook updates under "your posts" and automate the removal process. This version requires knowledge of the start position. If running without a known start position from a newly refreshed page use "2".
VERSION BUILD=844 RECORDER=CR
'This macro can only be run on a fully loaded page with the updates that you want to remove loaded.'
'This macro also ignores all errors and needs to be stopped manually if it fails / gets stuck.'
'Future updates to facebook may break this code. Use at your own risk.'
PROMPT "Please enter the start position (POS):" POSITION
SET DELAY 2 'modify this delay based on how quickly your browser loads prompts. For me anything less than 2 messed things up.'
SET !ERRORIGNORE YES
@connorclarklindh
connorclarklindh / facebook_messages_delete_imacros.iim
Created January 14, 2017 14:26
imacros code to automatically delete facebook messages
'these notes can be removed'
'this script requires the free chrome imacros plugin to run (http://imacros.net/overview)'
'updates to facebook messenger interface will likely break this and it will need to be rebuilt using a new recorded imacro.'
'i tested this on windows 10 using the most updated chrome browser (stable) as of 14/1/2017, future updates may break this.'
'i recommend copy-pasting the delete code as many times as you want to delete in one sitting. I did 20 at a time.'
'i also recommend using "play loop" and setting a loop according to the number of messages you have to delete. The messager page will reload on every loop.'
VERSION BUILD=844 RECORDER=CR
URL GOTO=https://www.facebook.com/messages/