athiratj / tweet-thread-saver

Use the Twitter API to save the tweet thread in a suitable form for later consumption. https://twitter.com/getmethistweet

Home Page:https://www.loom.com/share/de30830732464a328426a664890ea955

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BFH Banner

GET ME TWEET APP

Meet the bot @getmethistweet.

It uses the Twitter API to to help you save threads more easily. Just tag the bot as reply to the tweet which u need it to direct message. This project is awesome...

Team members

  1. Sangeetha D
  2. Syamili S
  3. Athira T J

Team Id

BFH/reciJV3XlF0HW5cly/2021

Link to product walkthrough

[link to video]

How it Works ?

  • Get Me Tweet App is a Twitter bot which save the tweets in the Inbox as direct messages.
    1. The Massage settings in Twitter should be changed before using the bot.
    2. The user has to just tag the bot as a reply to the tweet which the user would like to save for later reference.The bot also favourites the user's tweet.

Product Video

Libraries used

Tweepy - 3.10.0

How to configure

What You Need:

Instructions:

  • The first step is to clone this repository which will contain the bot files and then create a virtual environment:
     $ git clone https://github.com/athiratj/tweet-thread-saver.git
     $ cd tweet-thread-saver
     $ python3 -m venv venv 
  • Activate the newly created virtual environment and then use pip to install Tweepy package:
     $ source venv/bin/activate
     $ pip install tweepy
  • Create a new Twitter Application. This is where you'll generate your keys, tokens, and secrets.
  • Fill in your keys, tokens, and secrets in the credentials.py file:
    OAuthHandler='CONSUMER_KEY'
    OAuthHandler_2='CONSUMER_SECRET'
    set_access_token='ACCESS_TOKEN'
    set_access_token_2='ACCESS_TOKEN_SECRET'
    

How to Run

  • Run the getmethistweet.py script using command python3 givemethistweet.py

Deployment on Heroku:

  • If the script runs without any errors it can be deployed on Heroku.
  • Once deployment is done your Twitter bot is good to go!:sunglasses:

About

Use the Twitter API to save the tweet thread in a suitable form for later consumption. https://twitter.com/getmethistweet

https://www.loom.com/share/de30830732464a328426a664890ea955


Languages

Language:Python 100.0%