Code Monkey home page Code Monkey logo

whattweetbot-keys's Introduction

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.

whattweetbot-keys's People

Contributors

annevk avatar domenic avatar

Stargazers

Magnus Jurdal avatar Dez avatar  avatar Sean P. Myrick V19.1.7.2 avatar Dean Edridge avatar RogerVerhoeven avatar

Watchers

 avatar Henri Sivonen avatar James Cloos avatar  avatar Dean Edridge avatar  avatar Sean P. Myrick V19.1.7.2 avatar Magnus Jurdal avatar

whattweetbot-keys's Issues

Needs a README

It'd be good to describe what this is for and when I would run it. I think the target audience is, if you suddenly retired and became a hermit, how would someone new pick this all up, both to use it and develop it?

Usage-wise, Based on #1 it seems like it's useful for associating a personal Twitter account with @whattweetbot? I'm guessing maybe I should be logged in to my personal Twitter account in the web browser I use to follow the instructions?

Maintenance-wise, what should go in private-config.json?

Needs a LICENSE

Not sure what the latest thinking is on software projects. whatwg/participate.whatwg.org#114 is relevant.

In addition to adding the file, any work here should update the "license" entry in package.json. Currently it says "ISC".

Review and better name

@domenic can you review this code? It seems to work for its purpose. E.g., I could associate annevk with whattweetbot quite easily and get the relevant access tokens. The app showed up in https://twitter.com/settings/connected_apps. I did not try to tweet, but I assume that will work.

I would prefer a slightly different name for this repository and the app as Twitter holds the whattweetbot and this is really just a means for it to acquire individual account keys. Maybe whattweetbot-keys? (If you have instructions for how to rename this locally and make my environment forget about the old name that would be great too!)

Should probably also add a license and such and then we can make this public.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.