If you want to remove all traces of your Facebook activity or simply clean up for a better start, the tool DeleteFB It’s what you need. This is a Selenium script that will delete all Facebook statuses, images, and videos that you have uploaded since creating your account. Of course, this will not delete your account.
To use it, you must first have the latest version of Chrome and then install the driver for Selenium.
Then open terminal and install the script with the following command:
pip3 install --user delete-facebook-posts
Then run the script like this, indicating your Facebook credentials:
deletefb -E "VOTRE_ADRESSE@EMAIL.COM" -P "VOTRE_MOT_DE_PASSE_FACEBOOK" -U "https://www.facebook.com/URL_DE_VOTRE_PROFIL"
The script will automatically connect to your Facebook account from Chrome as if it were you and gradually delete all your messages. If you have posted many statuses, the task may take a long time. In the meantime, you can continue browsing the Internet by opening another tab or minimizing the browser window.

Updated To delete a particular year it is possible to add -Y 2019 if you want to delete all the content from the year 2019 for example.






