A Twitter bot that retweets @slate the first time they post a link, but ignores reposts.
I run this in production @SolitarySlate
The script runs as a demon, listening for @slate tweets (could be any user account, however) and then retweets if:
- There are no links in the tweet
- The first link in the tweet has not been included in a @slate tweet before
The first link in every @slate tweet is stored in a redis set.
Clone the repo, and:
npm install
cp config.json.example config.json
# fill in your twitter details
vim config.json
coffee index.coffee