{"id":18430312,"url":"https://github.com/shubhayu-64/twitter-bot","last_synced_at":"2025-04-07T17:33:33.272Z","repository":{"id":46588860,"uuid":"330859867","full_name":"shubhayu-64/Twitter-Bot","owner":"shubhayu-64","description":"Twitter-Bot is an automation bot for Twitter. You can use it to post tweets and like tweets on the homepage or like tweets based on keywords.","archived":false,"fork":false,"pushed_at":"2022-12-26T20:57:26.000Z","size":67,"stargazers_count":53,"open_issues_count":4,"forks_count":23,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-22T22:01:52.877Z","etag":null,"topics":["hacktoberfest","python","python3","selenium","selenium-python","twitter","twitter-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/shubhayu-64.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-19T04:06:46.000Z","updated_at":"2025-01-06T19:41:56.000Z","dependencies_parsed_at":"2023-01-31T01:30:38.009Z","dependency_job_id":null,"html_url":"https://github.com/shubhayu-64/Twitter-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/shubhayu-64%2FTwitter-Bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shubhayu-64%2FTwitter-Bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shubhayu-64%2FTwitter-Bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shubhayu-64%2FTwitter-Bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shubhayu-64","download_url":"https://codeload.github.com/shubhayu-64/Twitter-Bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247698108,"owners_count":20981299,"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":["hacktoberfest","python","python3","selenium","selenium-python","twitter","twitter-bot"],"created_at":"2024-11-06T05:20:09.291Z","updated_at":"2025-04-07T17:33:32.989Z","avatar_url":"https://github.com/shubhayu-64.png","language":"Python","funding_links":["https://www.buymeacoffee.com/shubhayu64"],"categories":[],"sub_categories":[],"readme":"# Twitter-Bot\n\u003cp align=\"left\"\u003e\n\u003ca href=\"https://github.com/shubhayu-64/Twitter-Bot/blob/main/LICENSE\" alt=\"Lisence\"\u003e\u003cimg src=\"https://img.shields.io/github/license/shubhayu-64/Twitter-Bot\"\u003e\u003c/a\u003e \u003ca href=\"https://github.com/shubhayu-64/Twitter-Bot/issues\" alt=\"Issues\"\u003e\u003cimg src=\"https://img.shields.io/github/issues/shubhayu-64/Twitter-Bot\"\u003e\u003c/a\u003e \u003ca href=\"https://twitter.com/intent/follow?screen_name=shubhayu64\" alt=\"Twiter-Follow\"\u003e\u003cimg src=\"https://img.shields.io/twitter/url?style=social\u0026url=https%3A%2F%2Ftwitter.com%2Fshubhayu64\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nTwitter-Bot is an automation bot using Selenium Automation Framework with python. This replaces the use of Twitter API as it is costly and takes much time to get access to. You can use it to post tweets, retweet based on keyword and like tweets on the homepage or like tweets based on keywords. \n\n## How to Install\n\n1. Create a ```python``` virtual environment. \n2. Clone the repo ```git clone https://github.com/shubhayu-64/Twitter-Bot.git``` or download the repository.\n3. Go to the cloned/downloaded directory ``` cd Twitter-Bot ``` \n4. Run ``` pip3 install selenium ``` and ``` pip3 install webdriver_manager```\n5. And now you can run the example scripts or create your own scripts.  \n\n## Usage\n- To like tweets on the homepage, run ``` python3 homepage_tweets_like.py```\n- To like tweets based on keyword, run ``` python3 keyword_tweets_like.py```\n- To post a tweet, run ``` python3 post_tweet.py```\n- To retweet based on keyword, run ``` python3 keyword_tweets_retweet.py```\n\n## FAQ\n- How to stop the script? Ctrl+C (control+C for Mac) \n- Script opens browser and nothing happens? Try checking the terminal. It might be asking for credentials.\n- For any other problems, feel free to raise an issue.\n\n## Contributing\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. \n\nPlease make sure to update tests as appropriate.\n\n## License\n[MIT © Shubhayu Majumdar](https://github.com/shubhayu-64/Twitter-Bot/blob/main/LICENSE)\n\n## What next?\nI will be working on adding feature of finding and following new users. Apart from that I will also add features to perform other tasks on tweets such as sharing on other platforms or messaging someone.\n\n## 🙋‍♂️ Support\n\n💙 If you like this project, give it a ⭐ and share it with friends!\u003cbr\u003e\u003cbr\u003e\n[☕ Buy me a coffee](https://www.buymeacoffee.com/shubhayu64)\n\n---\n\nMade with ❤️ and Python \u003cbr\u003e\u003cbr\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshubhayu-64%2Ftwitter-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshubhayu-64%2Ftwitter-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshubhayu-64%2Ftwitter-bot/lists"}