This is a twitter bot account (@lectiobot).Follow this account on twitter, then go to any thread in twitter and tweet a comment tagging this bot. In a few moments, the bot will send you a dm with the contents from the thread. The bot is written completely with Python. We created a seperate account to act as the bot and hosted it in replit as it is possible to continuously run the program with the hacker plan in replit.
- Sidharth R [https://github.com/Raf5017]
- S Sandeep [https://github.com/Sandeep-2060]
- Rohan George D [https://github.com/Rohan-GD]
BFH/rec7Ia3d8sff3ZODq/2021
[https://www.loom.com/share/fd34615524404fc8aa0fe13dfb6484b4]
- First follow the account @lectiobot ( [https://twitter.com/lectiobot] )
- Go to any recent thread on twitter
- Tag the bot and type : "@lectiobot unroll"
- After a few moments, the bot will send you a dm with the thread
Python - 3.8.5 tweepy - 3.10.0 dotenv - 0.17.1
Make sure you have the latest python installed
git clone <repo url>
Inside the project directory, install the modules used
pip install tweepy
pip install python-dotenv
Now before proceeding further you will have to make a new app at [https://developer.twitter.com/apps] If you do not have a twitter dev account, apply for the same and then make a new app
- Sign in with your Twitter account
- Create a new app account
- Modify the settings for that app account to allow read & write
- Generate new consumer key and access token with those permissions
Following these steps will create 4 tokens that you will need to place in the .env_sample file. Then rename the file as .env
Now in the terminal run
python main.py
Now the bot is active