Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/whatwg/whattweetbot-keys
Command-line utility to associate a Twitter account with a Twitter app.
https://github.com/whatwg/whattweetbot-keys
cli twitter
Last synced: 1 day ago
JSON representation
Command-line utility to associate a Twitter account with a Twitter app.
- Host: GitHub
- URL: https://github.com/whatwg/whattweetbot-keys
- Owner: whatwg
- License: cc0-1.0
- Created: 2021-01-25T10:05:57.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-04-30T13:47:21.000Z (over 3 years ago)
- Last Synced: 2024-03-26T17:13:10.260Z (8 months ago)
- Topics: cli, twitter
- Language: JavaScript
- Homepage:
- Size: 8.79 KB
- Stars: 6
- Watchers: 8
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# whattweetbot-keys
`whattweetbot-keys` is a command-line utility to associate a Twitter account with a Twitter app (`whattweetbot` as it happens).
Here is how you can use it:
1. `cp private-config.sample.json private-config.json`
2. Put the consumer API key and consumer API secret key of the Twitter app in `private-config.json` in `key` and `secret` respectively. You can obtain these from https://developer.twitter.com/en/apps by going to “Details” of the relevant app, and then under the “Keys and tokens” tab.
3. `npm install`
4. `npm link`
5. `whattweetbot-keys`
6. Follow the instructions given. In particular, open the URL in a browser while logged into a Twitter account you want to associate with the Twitter app, grant it access, and enter the PIN on the command-line. Make sure you copy and store the keys given at the end. For the specific case of the WHATWG those need to end up in the private configuration of participate.whatwg.org.