{"repo":"Xtremilicious/twitter-retweet-bot","free":true,"listed":false,"github":"https://github.com/Xtremilicious/twitter-retweet-bot","clone":"git clone https://github.com/Xtremilicious/twitter-retweet-bot.git","description":":bird: A Twitter retweet bot using Twitter API and Tweepy built with Python. Supports multiple keywords/hashtags.","language":"Python","stars":30,"topics":["python","twitter","twitter-bot","automation","retweet","retweet-bot","python3","twitter-api","twitter-retweet-bot","bot"],"license":"MIT","category":"workflow-automation","readme_excerpt":"Twitter-Retweet-Bot A Twitter retweet bot using Twitter API and Tweepy built with Python. Supports multiple keywords/hashtags. What You Need & Need to Know ---------- Tweepy - An easy-to-use Python library for accessing the Twitter API. Make sure you fully understand Twitter's Rules on Automation. Play nice. Don't spam! Setup ---------- Install all dependencies Creates a .env file with all environment variables like the .env.example file. Instructions ---------- Out of general OS hygiene, create a new directory to contain all of your retweet bot files. mkdir retweet-bot Create a new Twitter Application. This is where you'll generate your keys, tokens, and secrets. Fill in your keys, tokens, and secrets in the .env file. Check comments in retweet.py to tweak the retweet bot to your liking. The example demonstrates a single hashtag value, but you can tweak the code to search multiple hashtags. Example: q='%23art%20OR%20%23music' will search #art OR #music Run your retweet.py script. Enjoy! python retweet.py Additional Information ---------- Note: Make sure that your retweet.py and .env files are, obviously, in the same directory. Create a Cron Job or use Task Scheduler.aspx) to automate this script. Use Heroku for hosting the scripts and assign a dyno to run this script continuously. Consider using a Raspberry Pi to host your retweet bot, so it's always on and always running. :)","default_branch":null,"files":null,"tree":[],"storefront":"/r/Xtremilicious","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Xtremilicious/twitter-retweet-bot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}