Skip to content

A python script that allows you to delete your own facebook posts.

License

Notifications You must be signed in to change notification settings

aeveltstra/delete-my-fb-posts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

delete-my-fb-posts

A python script that allows you to delete your own Facebook posts.

This runs on MacOSx 10.11.6 (El Capitan), in a terminal, using python 3.9, the latest selenium web driver, and Mozilla's latest geckodriver.

Use pip to install selenium. Download Mozilla's geckodriver from their own website. Copy the executable into /usr/local/bin: that puts it onto the executable PATH, which is where selenium needs it.

Edit the script main.py to set the authentication variables, and run the script.

Known issues: Localization. Facebook goes through a lot of trouble to make their pages not automatable for scripts like this. So we have to select the post deletion button by its title. But Facebook renders that title in a language of your choosing. If that is French, the title is 'Supprimer'. That's what the script in main.py looks for. For other languages the title will differ and you will need to adjust the script accordingly.

About

A python script that allows you to delete your own facebook posts.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages