A simple utility to remove tweets with an optional time buffer
bundle install
for dependencies (see Gemfile).- You will need access to the Twitter API. If you don't have it already, apply here.
- Create an app with Twitter here.
- Take note of your access credentials and set your ENV variables accordingly (see client.rb for reference). You may also hard-code them if you don't plan to commit.
- Assign
USERNAME
in delete_em.rb to your Twitter username. - Assign
DURATION
in delete_em.rb to the amount of days of activity you'd like to keep (0 for none). - Run
ruby feed_cleaner.rb
from the lib directory.