A couple of weeks ago (before all of Elon's horrible decisions and takeover) I set out to make a Twitter bot and quickly found out that a lot of tutorials out there contain outdated information. So, pour yourself some tea and put on some lo-fi, and let’s create a bot! Match the rest of the settings to the following screenshots.
Table of contents
Prerequisites and External LibrariesApplying for Elevated Access and Getting Your API CredentialsProject Layout and constants.pyFetching the Shiba Inu and Quote ( get_assets.py )Uploading an Image and Publishing Your First Tweet ( publish.py )Posting a tweet ( publish.py and daily_post.py )Responding to Mentions ( respond.py )Creating a Flask Application and adding Automation ( application.py )Hosting the Bot on AWS1 Comment
Sort: