{"id":15298458,"url":"https://github.com/astronuttt/twitter2telegram","last_synced_at":"2026-04-06T09:11:33.210Z","repository":{"id":130183119,"uuid":"289935465","full_name":"astronuttt/twitter2telegram","owner":"astronuttt","description":"A simple script to post tweets from Twitter to Telegram ","archived":false,"fork":false,"pushed_at":"2020-08-24T13:27:57.000Z","size":2,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-20T06:34:17.477Z","etag":null,"topics":["bot","python","telegram","telegram-bot","twitter"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/astronuttt.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}},"created_at":"2020-08-24T13:26:53.000Z","updated_at":"2022-04-27T23:15:03.000Z","dependencies_parsed_at":"2023-04-27T21:47:15.641Z","dependency_job_id":null,"html_url":"https://github.com/astronuttt/twitter2telegram","commit_stats":null,"previous_names":["astronuttt/twitter2telegram"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astronuttt%2Ftwitter2telegram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astronuttt%2Ftwitter2telegram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astronuttt%2Ftwitter2telegram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astronuttt%2Ftwitter2telegram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/astronuttt","download_url":"https://codeload.github.com/astronuttt/twitter2telegram/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235633947,"owners_count":19021455,"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":["bot","python","telegram","telegram-bot","twitter"],"created_at":"2024-09-30T21:00:51.628Z","updated_at":"2025-10-07T13:30:22.484Z","avatar_url":"https://github.com/astronuttt.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Simple Twitter to Telegram script based on [tweepy](https://github.com/tweepy/tweepy)\n\n## Installation  \nMake sure *python3* and *git* installed on your system\n\n\n`git clone https://github.com/sinaebrahimi1/twitter2telegram.git`\n\n\nand just install the requirements: `pip3 install -r requirements.txt`   \n\n\n#### `config.py`\n\n*Twitter configs:*\n\n\nPut the page ids that you want to be monitored in `follows` as a list like `follows = [\"123456\", \"54321\"]`.   \n_(You can extract user_ids from http://gettwitterid.com.)_\n\n\nGet Twitter API Authentication Credentials from https://developer.twitter.com/ and place them in `Twitter Configs`  section:   \n\n\n    1. Consumer key   \n    2. Consumer secret    \n    3. Access token   \n    4. Access secret      \n\n\n*Telegram configs:*\n\n1. You have to create a channel ant put its id in `TWEET_CH` like the example. (to get channel_id, forward a message from channel to [@userinfobot](https://t.me/userinfobot))\n\n2. Create a new bot with [@BotFather](https://t.me/BotFather) and place it's token in `BOT_API`.\n\n3. Add the bot to the channel and make it channel admin.\n\n\n## Running the script\n\n`python3 main.py`\n\nif you want to prevent crashes or things like that, just run this command:   \n`while true; do python3 main.py; done`\n\n\n\n#### contact me:\n* email: ebrahimisina78@gmail.com\n* telegram: [@Thunderstrack](https://t.me/Thunderstrack)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastronuttt%2Ftwitter2telegram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fastronuttt%2Ftwitter2telegram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastronuttt%2Ftwitter2telegram/lists"}