{"id":15487298,"url":"https://github.com/xtremilicious/twitter-retweet-bot","last_synced_at":"2025-04-22T15:41:18.550Z","repository":{"id":60260237,"uuid":"242350518","full_name":"Xtremilicious/twitter-retweet-bot","owner":"Xtremilicious","description":":bird: A Twitter retweet bot using Twitter API and Tweepy built with Python. Supports multiple keywords/hashtags.","archived":false,"fork":false,"pushed_at":"2022-09-27T08:56:33.000Z","size":13,"stargazers_count":28,"open_issues_count":2,"forks_count":14,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-19T07:51:11.223Z","etag":null,"topics":["automation","bot","python","python3","retweet","retweet-bot","twitter","twitter-api","twitter-bot","twitter-retweet-bot"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Xtremilicious.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-22T13:56:59.000Z","updated_at":"2024-09-26T02:45:37.000Z","dependencies_parsed_at":"2022-09-27T10:00:33.352Z","dependency_job_id":null,"html_url":"https://github.com/Xtremilicious/twitter-retweet-bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xtremilicious%2Ftwitter-retweet-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xtremilicious%2Ftwitter-retweet-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xtremilicious%2Ftwitter-retweet-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xtremilicious%2Ftwitter-retweet-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Xtremilicious","download_url":"https://codeload.github.com/Xtremilicious/twitter-retweet-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230019768,"owners_count":18160600,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","bot","python","python3","retweet","retweet-bot","twitter","twitter-api","twitter-bot","twitter-retweet-bot"],"created_at":"2024-10-02T06:22:02.079Z","updated_at":"2024-12-16T20:06:44.556Z","avatar_url":"https://github.com/Xtremilicious.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Twitter-Retweet-Bot\nA Twitter retweet bot using Twitter API and Tweepy built with Python. Supports multiple keywords/hashtags.\n\nWhat You Need \u0026 Need to Know\n----------\n\n* [Tweepy](http://www.tweepy.org/) - An easy-to-use Python library for accessing the Twitter API.\n\n* Make sure you fully understand [Twitter's Rules on Automation](https://support.twitter.com/articles/76915). Play nice. Don't spam! \n\nSetup\n----------\n\nInstall all dependencies\n\n```\npip install -r requirements.txt\n```\n\nCreates a `.env` file with all environment variables like the `.env.example` file.\n\nInstructions\n----------\n\n* Out of general OS hygiene, create a new directory to contain all of your retweet bot files.\n\n`mkdir retweet-bot`\n\n* Create a new [Twitter Application](https://apps.twitter.com). This is where you'll generate your keys, tokens, and secrets.\n* Fill in your keys, tokens, and secrets in the .env file.\n* Check comments in retweet.py to tweak the retweet bot to your liking.\n* The example demonstrates a single hashtag value, but you can tweak the code to search multiple hashtags. Example:\n\n `q='%23art%20OR%20%23music' will search #art OR #music`\n* Run your retweet.py script. Enjoy! \n\n`python retweet.py`\n\nAdditional Information\n----------\n* Note: Make sure that your retweet.py and .env files are, obviously, in the same directory.\n* Create a [Cron Job](https://code.tutsplus.com/tutorials/scheduling-tasks-with-cron-jobs--net-8800) or use [Task Scheduler](https://technet.microsoft.com/en-us/library/cc748993(v=ws.11).aspx) to automate this script.\n* Use Heroku for hosting the scripts and assign a dyno to run this script continuously.\n* Consider using a Raspberry Pi to host your retweet bot, so it's always on and always running. :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxtremilicious%2Ftwitter-retweet-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxtremilicious%2Ftwitter-retweet-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxtremilicious%2Ftwitter-retweet-bot/lists"}