Skip to content

iphoting/TweetSnipper

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

TweetSnipper

Deletes Tweets older than hashtag specified duration, in the form of /#\d+[hmd]/.

Note: Does not work when deployed on Heroku.

Installation

  1. Clone repository.

     $ git clone https://github.com/iphoting/TweetSnipper
     $ cd TweetSnipper
    
  2. Create a Twitter API application here.

  3. Create a .env file within the clone with the following details:

     TWITTER_USERNAME="username"
     CONSUMER_KEY="API_key..."
     CONSUMER_SECRET="API_secret..."
     ACCESS_TOKEN="12345-xxyyy"
     ACCESS_SECRET="09384xxyy"
    
  4. Use bundler to fetch dependencies.

     $ bundle install
    
  5. Run the app.

     $ ruby tweetsnipper.rb
    
  6. Add the app to cron or launchd.

About

Delete Tweets with hashtags after #/\d+[hmd]/.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages