Update a pinned gist to contain the latest tweets of a user
- Create a new public GitHub Gist (https://gist.github.com/)
- Create a token with the
gist
scope and copy it. (https://github.com/settings/tokens/new) - Create a new Twitter app (https://developer.twitter.com/en/apps/create)
- On the App page for your newly created app, generate an "Access token & access token secret" and copy all keys and tokens.
- Fork this repo
- Log into CircleCI with your GitHub (https://circleci.com/vcs-authorize/)
- Click on "Add Projects" on the sidebar
- Set up a project with the newly created fork
- Go to Project Settings > Environment Variables
- Add the following environment variables:
- GIST_ID: The ID portion from your gist url
https://gist.github.com/matchai/
6d5f84419863089a167387da62dd7081
. - GITHUB_TOKEN: The GitHub token generated above.
- TWITTER_USER: The user handle of the twitter account.
- TWITTER_CONSUMER_KEY: Your Twitter consumer API key.
- TWITTER_CONSUMER_SECRET: Your Twitter consumer secret.
- TWITTER_ACCESS_TOKEN_KEY: Your Twitter access token key.
- TWITTER_ACCESS_TOKEN_SECRET: Your Twitter access token secret.