Twitter bot to retweet tweets made by users when they tweet using some hashtags.
You first need to create a Twitter application.
export RETWEET_CONSUMER_KEY="" export RETWEET_CONSUMER_SECRET="" export RETWEET_USER_TOKEN="" export RETWEET_USER_TOKEN_SECRET="" export RETWEET_ACCOUNTS="user1 user2" export RETWEET_HASTAGS="hashtag1 hashtag2"
When tweets by user1
or user2
tweets contain #hashtag1
or #hashtag1
,
they will be retweeted.
~$ lein uberjar ~$ java -jar target/retweet-0.3-standalone.jar
Contributions are welcome as issues, questions or code.
If you like Clojure, please consider supporting Clojure developers by donating to clojuriststogether.org. Thanks!
2019-2021 Bastien Guerry
Licensed under the EPL 2.0.