{"id":28619178,"url":"https://github.com/nickcallaghan/twitter_api_bot","last_synced_at":"2025-08-10T07:11:33.924Z","repository":{"id":135476090,"uuid":"236307187","full_name":"NickCallaghan/twitter_api_bot","owner":"NickCallaghan","description":null,"archived":false,"fork":false,"pushed_at":"2020-01-26T21:47:58.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-12T04:22:05.962Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NickCallaghan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-01-26T12:10:18.000Z","updated_at":"2020-01-26T21:48:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"1ef526c5-055a-4572-a5f6-79336e099c47","html_url":"https://github.com/NickCallaghan/twitter_api_bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NickCallaghan/twitter_api_bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NickCallaghan%2Ftwitter_api_bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NickCallaghan%2Ftwitter_api_bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NickCallaghan%2Ftwitter_api_bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NickCallaghan%2Ftwitter_api_bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NickCallaghan","download_url":"https://codeload.github.com/NickCallaghan/twitter_api_bot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NickCallaghan%2Ftwitter_api_bot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269689581,"owners_count":24459672,"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","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-06-12T04:21:10.453Z","updated_at":"2025-08-10T07:11:33.913Z","avatar_url":"https://github.com/NickCallaghan.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# twitter_api_bot\n\nI wrote this twitter bot as a learing excercise to start to familiarise myself a little more with Python. \n\n## Features\n- Takes a seach term and finds tweets based on it\n- Follow user **follow=True** by default,  can be set to false in the code\n- Retweet the tweet **retweet=True** by default and **min_num_to_retweet=20**\n\nRetweet and follow options can currently only be turned off in the code. Later plan to enable args from the command line \n\n## Setup\n*This setup guide assumes you already have python 3.8 or greater installed*\n1. Clone the repo and cd into it\n```\ngit clone git@github.com:NickCallaghan/twitter_api_bot.git\n```\n2. Set up a virtual environment\n ```\npython3 -m venv env\n```\n3. Activate the virtual environment\n```\nsource env/bin/activate\n```\n4. Install dependencies\n```\npip install requirements.txt\n``` \n5. Get you own api key from [Twitter Developers](https://developer.twitter.com/)\n6. Create a **keys.py** file in the root of the project and add the following keys:\n```\napi_key = \"ADD_YOUR_KEY_HERE\"\napi_secret = \"ADD_YOUR_KEY_HERE\"\naccess_token = \"ADD_YOUR_KEY_HERE\"\naccess_token_secret = \"ADD_YOUR_KEY_HERE\"\n```\n7. Run the bot\n```\npython app.py\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickcallaghan%2Ftwitter_api_bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnickcallaghan%2Ftwitter_api_bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickcallaghan%2Ftwitter_api_bot/lists"}