This program can be used to clean up a facebook account without deleting the entire account.
Note: Facebook has a very strange login process. Please open a GitHub issue if the program is not able to login.
Binaries for Linux, macOS and Windows are attached to a release.
Download the binary file for your platform of the latest release.
Linux/macOS: Make the binary executable and run it. Example:
$ chmod +x deleter-linux
$ ./deleter-linux
Windows: Run the .exe file and select "More information" and "Run anyway".
A recent Go version needs to be installed. This can be done via your package manager or the golang website.
Clone this repository
$ git clone https://github.com/marcelja/facebook-delete.git
$ cd facebook-delete
$ go install
$ go run deleter.go
Cookies are saved to $HOME/.go-cookies
if the $GOCOOKIES
variable is not set (see https://github.com/juju/persistent-cookiejar).
Facebook will temp-block you if you make too many requests too quickly. Run the command with the -rateLimit <time in ms>
to introduce a delay before each request. If you're getting hung up on just searches or deletes, you can disable rate-limiting for one or the other with -limitSearch=0
or -limitDelete=0
.
E.g. one of:
$ ./deleter-linux -rateLimit 500
$ ./deleter-linux -rateLimit 500 -limitSearch=0
$ ./deleter-linux -rateLimit 500 -limitDelete=0