This app erases your tweets older than a couple of months. You can run it manually or as a cron job in a computer you own.
You will need Twitter API keys for your user, you can obtain them at Twitter Apps.
application.conf and add your keys there.
bin/erase.sh to erase old tweets.
Unfortunately nowadays public views are not just views, they can (and are) used as ammunition against people.
Your posts on social media, wrong as they may have been, can be leveraged in very damaging ways without consideration of any change of mind you may have had since then. Current political environment exacerbates this, due to the 'friends vs foes' system that we are in, which means some people try to attack and hurt the opposition by any means available.
There's been cases in which people's jobs have been threatened due to political views, using social media posts as evidence. Without entering into specifics of each case, this shows your own social media contributions are a huge risk, more so if you are self-employed or active in social media.
Given Twitter, in this specific case, is a useful platform to retrieve information and interact with people, the only way you can be kept safe from unintended consequences is to erase your own history. This kind of happens naturally with time, it seems Twitter makes is almost impossible to search anything but your most recent 3500 tweets (aprox). But this may still be enough risk for some individuals. So, deletion.
I've been told this amounts to self-censorship and it is not a positive move. That is completely true, this shouldn't be necessary. But current developments show this is, currently, an utopia.
Contributions via GitHub pull requests are gladly accepted from their original author. Along with any pull requests, please state that the contribution is your original work and that you license the work to the project under the project's open source license. Whether or not you state this explicitly, by submitting any copyrighted material via pull request, email, or other means you agree to license the material under the project's open source license and warrant that you have the legal authority to do so.
This code is open source software licensed under the Apache 2.0 License.