Giter Site home page Giter Site logo

kyroskoh / telegram-twitter-forwarder-bot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from franciscod/telegram-twitter-forwarder-bot

0.0 2.0 0.0 232 KB

A Telegram bot that forwards Tweets

Home Page: https://telegram.me/TwitterForwarderBot

License: GNU Lesser General Public License v3.0

Python 100.00%

telegram-twitter-forwarder-bot's Introduction

telegram-twitter-forwarder-bot

logo

Hello! This projects aims to make a Telegram bot that forwards Twitter updates to people, groups, channels, or whatever Telegram comes up with!

You can check it on Telegram: @TwitterForwarderBot

Credit where credit is due

This is based on former work:

So, big thanks to anyone who contributed on these projects! :D

How do I run this?

The code is currently targeting Python 3.5

# clone this thing
# create your virtualenv, activate it, etc
# virtualenv -p python3 venv
# . venv/bin/activate
pip install -r requirements.txt
source secrets.env
python main.py

secrets.env?? u wot m8?

First, you'll need a Telegram Bot Token, you can get it via BotFather (more info here).

Also, setting this up will need an Application-only authentication token from Twitter (more info here). Optionally, you can provide a user access token and secret.

You can get this by creating a Twitter App here.

Bear in mind that if you don't have added a mobile phone to your Twitter account you'll get this:

You must add your mobile phone to your Twitter profile before creating an application. Please read https://support.twitter.com/articles/110250-adding-your-mobile-number-to-your-account-via-web for more information.

Get a consumer key, consumer secret, access token and access token secret (the latter two are optional), fill in your secrets.env and then run the bot!

telegram-twitter-forwarder-bot's People

Contributors

franciscod avatar krikunts avatar jh0ker avatar

Watchers

Kyros Koh avatar  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.