I didn't have chromedriver installed initially - it caused a secondary exception.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/tcrha/.local/bin/deletefb", line 8, in <module>
sys.exit(run_delete())
File "/home/tcrha/.local/lib/python3.8/site-packages/deletefb/deletefb.py", line 112, in run_delete
driver = login(
File "/home/tcrha/.local/lib/python3.8/site-packages/deletefb/tools/login.py", line 44, in login
driver = setup_selenium(chrome_options, chrome_binary_path)
File "/home/tcrha/.local/lib/python3.8/site-packages/deletefb/tools/chrome_driver.py", line 66, in setup_selenium
except WebDriverException:
NameError: name 'WebDriverException' is not defined
This currently only works for English language Facebook accounts, due to the lack of a usable API.
Also, year by year deletion is currently broken. Feel free to fork or make pull requests.
## Why?
I needed a simple and reliable way to delete Facebook posts. There are
@ -18,7 +22,7 @@ Personally, I did this so I would feel less attached to my Facebook profile
(and hence feel the need to use it less).
## Dependencies
- This tool requires at least Python 3.6 in order to run.
- This tool requires at least Python 3.7 in order to run.
- A recent copy of Chrome or Chromium installed and available in your `$PATH`
## Installation
@ -57,7 +61,7 @@ optional arguments:
```
* Make sure that you have a recent version of Python 3.x installed (preferably
3.6 or greater)
3.7 or greater)
* Make sure that you have Google Chrome installed and that it is up to date
* The tool will attempt to automatically install chromedriver for Selenium. See [here](https://sites.google.com/a/chromium.org/chromedriver/home) for an explanation of what the chromedriver does. You may have to manually install it if auto-install fails.
* On Linux, it will be called something like `chromium-chromedriver` or just