{"id":26910163,"url":"https://github.com/ztf666/twitter-bot","last_synced_at":"2026-04-15T16:32:08.683Z","repository":{"id":118221372,"uuid":"259151969","full_name":"ZTF666/Twitter-bot","owner":"ZTF666","description":"A small python bot that automates the process of login in twitter . Send follow requests from the suggestions tab . Follow people based on a given #Hashtag . Likes tweets based on a given #Hashtag .","archived":false,"fork":false,"pushed_at":"2020-04-27T04:20:03.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-23T22:39:56.054Z","etag":null,"topics":["selenium-python","selenium-webdriver","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/ZTF666.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-26T23:05:32.000Z","updated_at":"2020-04-27T04:20:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"70715d78-a1dc-4109-9fe7-b194171be4c6","html_url":"https://github.com/ZTF666/Twitter-bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ZTF666/Twitter-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZTF666%2FTwitter-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZTF666%2FTwitter-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZTF666%2FTwitter-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZTF666%2FTwitter-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZTF666","download_url":"https://codeload.github.com/ZTF666/Twitter-bot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZTF666%2FTwitter-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31849729,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["selenium-python","selenium-webdriver","twitter-bot"],"created_at":"2025-04-01T13:31:32.366Z","updated_at":"2026-04-15T16:32:08.660Z","avatar_url":"https://github.com/ZTF666.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TweetBot\n\nA small python bot that automates the process of login in twitter .\nSend follow requests from the suggestions tab .\nFollow people based on a given #Hashtag .\nLikes tweets based on a given #Hashtag .\n\n\n## THIS IS A WiP !!!!!!!!\n\n```\nSince this is still experimental , things my change or be a bit buggy .\nOnce fully finished , this section will be deleted.\n```\n\n## How to use\n\n- **Install**\n\n```python\npip install selenium\n```\n\n- **Download**\n\n\n 💿 [ChromeDriver](http://chromedriver.chromium.org/) 💿 \n```\n👇👆\n```\n🦊🦎 [GeckoDriver](https://github.com/mozilla/geckodriver/releases) 🦎🦊\n\n``` \nIf you're using windows , you may want to put the .exe in the same folder as the script.\nAt least that's how i do it.\n```\n\n```\nIn the LOGIN function , at the end of it call one of the 4 functions that you want to execute .\nThe functions are : \n        # TwitterScript.SearchHashTag(self)\n        # TwitterScript.Follow(self)\n        # TwitterScript.FollowByHashtag(self)\n        # TwitterScript.Unfollow(self)\n```\n\n\n## Functionalities\n\n```\nFunctionalities implemented so far :\n\nLOGIN ✔️\nFOllOW ✔️\nLIKE TWEETS ✔️\nSEARCH BY HASHTAG ✔️\nUNFOLLOW ✔️\nRETWEET ❌\n\n\n```\n\n**Likes**\nTweaks \u0026 optimisation :\n\n\u003e  \u003cp\u003eYou can optimise the scrolls to get more tweets this by changing the number . \u003c/p\u003e\n\u003e \u003cp\u003eLine 50\u003c/p\u003e\n\n```python\n for i in range(1,3):\n```\n\u003e  \u003cp\u003eYou can optimise the number of likes by changing the number . \u003c/p\u003e\n\u003e  \u003cp\u003eFor testing purposes this only likes 4 posts \u003c/p\u003e\n\u003e \u003cp\u003eLine 56\u003c/p\u003e\n\n```python\n        for X in range(1,5):\n```\n\n\n**Follow**\nTweaks \u0026 optimisation :\n\n\u003e  \u003cp\u003eYou can optimise the scrolls to get more profiles this by changing the number . \u003c/p\u003e\n\u003e \u003cp\u003eLine 68\u003c/p\u003e\n\n```python\nfor i in range(1,5):\n```\n\n\u003e  \u003cp\u003eYou can optimise the number of follow requets by changing the number . \u003c/p\u003e\n\u003e  \u003cp\u003eFor testing purposes this only follows 8 people and stops \u003c/p\u003e\n\u003e \u003cp\u003eLine 73\u003c/p\u003e\n\n```python\n for X in range(1,9):\n```\n\n\u003e  \u003cp\u003e This link should be altered , put your own id instead of mine in the creds.py \u003c/p\u003e\n```python\n        self.driver.get('https://twitter.com/i/connect_people?user_id=YOUR_PROFILE_ID_GOES_HERE')\n```\n\n**Credentials**\n\n```\nAs any other file containing sensitive data, credentials.py contains :\n```\n\n```python\nlogin = 'PHONE_EMAIL_OR_USERNAME'\npwd = 'PASSWORD'\nhashtag='YOUR HASHTAG HERE'\nid='YOUR_TWITTER_ID\n```\n\n```\nMake sure to change those before launching .\n```\n\n## LIMITATIONS :\n\n```\nThe script bugs out from time to time depending on your internet speed .\nThis is not a perfect script , this have been made with basic knowledge .\nThe function SLEEP() , has high intervals because of my 3rd world internet , 💛 4mbps 💛 .\nYou should adapt it to your needs .\n```\n\n## Support\n\n```\nAny help improving this and adding more stuff is welcome ! .\n```\n\n## Contact me\n\n```\nyou can contact me at ZTF666@protonmail.ch or via my portfolio\n```\n\u003cdiv align=\"center\"\u003e\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://ztfportfolio.web.app/\"\u003e\u003cimg src=\"https://avatars1.githubusercontent.com/u/32502988?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eZTF666\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/ZTF666/Twitter-bot\" title=\"Code\"\u003e💻\u003c/a\u003e \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\u003c/div\u003e\n\n## License\n\n**🐤TweetBot** released under the [MIT](LICENSE) License.\n\n```\nMade with 💘 by a 👨‍💻 on a 💻 | 2020 | ZTF666\n\n``` ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fztf666%2Ftwitter-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fztf666%2Ftwitter-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fztf666%2Ftwitter-bot/lists"}