1- Go to: https://www.facebook.com/{your_id_or_username}/allactivity/?category_key=LIKEDPOSTS&filter_hidden=ALL&filter_privacy=NONE
You can use Filter to choose year or month.
2- Open the console and run the following JavaScript code and wait:
setInterval(() => { for (const Button of document.querySelectorAll('div[aria-label="Action options"]')) { Button.click() document.querySelector('div[role="menuitem"]').click() } }, 1000)If you encounter any problems dm me on twitter
The original posted code doesn't appear to work at the moment.
I've tweaked it and have found that generally this works quite well:
What this code does:
Every 1 second, it loops through every 'Action options' button on the page which is the ellipses button "...", it then queries the remove button and clicks it.
You can also change the interval to every 100ms which is pretty rapid and still works fine.
The old code seems to accidentally click the "forward" button leaving it eternally broken.
I hope this helps, and many thanks to @2xa31k for posting the initial code! 👍