GithubHelp home page GithubHelp logo

egoyagel / tgtw7 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hypnojerk/from_twitter_to_telegram

0.0 0.0 0.0 21 KB

Auto-post latest tweets from a user on Twitter, to a Telegram Channel(via a bot)

License: MIT License

Python 100.00%

tgtw7's Introduction

Twitter >> Telegram

Auto post tweets from Twitter, to a Telegram Channel bot

This script simply takes a twitter user name, and fetches the latest tweets from their timeline. Then reposts those tweets to a telegram channel(via a bot)

Requirements:

You need Twython installed. Twython is a twitter-python API

Notes:

Just create a Telegram Bot(takes only seconds) and add your new bot as an administrator to your Channel.

Edit the 'SETTINGS.py' file and update it with your own information.

The script makes a "pickled" file that holds the tweet ID of the latest tweet it recieved. That way, we can compare the tweet ID later, and make sure that we only get the newest tweets, since last time we ran the script.

You can schedule the script to run with something like using cron jobs, every 10 min for example. I run mine at every 5 min for my current bot.

tgtw7's People

Contributors

egoyagel avatar hypnojerk avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.