Twitter Card Creator
Twitter Card Creator
Every week on Tuesday @ 10 am, there is a new Agile in Action podcast. This Twitter module will automatically tweet the latest podcast.
Steps for initial creation
- Create a Twitter Developer account with elevated access
- Among other things, that will give you an API Key and API Secret
- Go to https://developer.twitter.com, go to your project (app name) and then select Keys and Tokens (at the top of the page)
- Locate the Access Token and Secret area and click Generate. You will now have a Access Token and Access Token Secret
- Go to the GitHub repo containing this code and click Setttings
- Location Secrets->Actions and create four new repository secrets:
- TWITTER_CONSUMER_KEY (Twitter API Key)
- TWITTER_CONSUMER_SECRET_KEY (Twitter API Secret)
- TWITTER_ACCESS_TOKEN (Twitter Access Token)
- TWITTER_ACCESS_TOKEN_SECRET (Twitter Token Secret)
Files
Tweet.yml gets placed into .github/workflows
tweet.py gets placed into the root folder of the repo ./
tweet.json should contain the list of tweets
Note
Use the sample_tweet.json file for examples of how to configure the tweet