Goodbye
Goodbye is a Go application, when someone unfollows you on Twitter,
it will Direct Message you their Twitter handle.
Installation with Docker
Create a Twitter application on https://dev.twitter.com and access tokens
for the application before you start. Then, create a config.json
file with
the credentials:
{
"consumerKey": "<value>",
"consumerSecret": "<value>",
"accessToken": "<value>",
"accessSecret": "<value>"
}
Clone this repo and build the Docker image:
$ docker build -t goodbye .
Then run the container:
docker run -d --restart=always \
-v /path/to/config.json:/etc/goodbye/config.json \
--name=goodbye-agent \
goodbye
Check if it is running fine: docker logs -f goodbye-agent
.
Go to https://dev.twitter.com/, create an application and access tokens
for it, then save those to a config.json
described above.
How it works
This program has to be running all the time to periodically download the
list of your followers and compare it with the previous version to see
who is no longer there (meaning, unfollowed you).
Demo
Here is how it looks like in action:
Author
Copyright (c) 2013-2017, Ahmet Alp Balkan
Made in Bellevue, WA with love.