elonmuskbot
This is a basic Python script used to repost tweets from Elon Musk and the Tesla Twitter account.
Example image of what it appears as:
Installation:
- Clone this repository to your computer
- Install required modules from requirements.txt
- Complete Setup below
The script can be easily updated to add additional twitter handles.
Setup Instructions:
First, you'll need to create a webhook for your Microsoft Teams channel:
- In Microsoft Teams, choose More options (⋯) next to the channel name and then choose Connectors.
- Scroll through the list of Connectors to Incoming Webhook, and choose Add.
- Enter a name for the webhook, upload an image to associate with data from the webhook, and choose Create.
- Copy the webhook to the clipboard and save it. You'll need the webhook URL for the teamsUrl variable.
- Choose Done.
Once you have the webhook URL, you'll want to set up a twitter account for use with the twitter API.
Follow instructions from Twitter to set up your account for use with the Twitter API.
Once you've done both setup steps, simply update the script with the values from Twitter/Microsoft, and it will automatically start posting tweets from the given screen names.