Git Product home page Git Product logo

Comments (6)

mroth avatar mroth commented on May 29, 2024

@cowboyrushforth any idea what's going on here?

from lolcommits.

Mte90 avatar Mte90 commented on May 29, 2024

same problem on debian sid :-/

from lolcommits.

magsol avatar magsol commented on May 29, 2024

Same problem here on OS X 10.8 using bash. One possible workaround would be to go to dev.twitter.com and create a new app, manually altering the consumer_key and consumer_secret in plugins/lol_twitter.rb, and thereby allowing us to secure the access_token and access_secret via the web and manually input them in the appropriate config.yml. However, without having an example of the syntax in the config.yml file, I'm unsure how to enter this information. Any suggestions?

from lolcommits.

magsol avatar magsol commented on May 29, 2024

I implemented the workaround I mentioned and it works just fine. But it doesn't solve the problem of the command line skipping past the PIN input.

To implement this workaround:

  1. Go to dev.twitter.com, sign in with the twitter account you want to use, and create a new Application. Make sure it has read and write permissions.
  2. Find the gem install for lolcommits. Navigate to and open lib/lolcommits/plugins/lol_twitter.rb
  3. Replace the values for TWITTER_CONSUMER_KEY and TWITTER_CONSUMER_SECRET with the appropriate values from the Application you created in step 1. Save your changes.
  4. Open the config.yml file specific to the git repo you want to update twitter. The configuration should look like this:
twitter:
  enabled: true
  access_token: access_token_here
  secret: access_token_secret_here

with the values for access_token and secret taken from the Application you created in step 1. Save the file. All done!

from lolcommits.

ludviglindblom avatar ludviglindblom commented on May 29, 2024

I had the exact same problem but then I tried lolcommits --capture and I got the oppurtunity to copy the URL and enter the PIN.

from lolcommits.

matthutchinson avatar matthutchinson commented on May 29, 2024

Closing, I believe this issue was fixed with the plugin refactoring and fixes to twitter configuration released in v0.5.2

from lolcommits.

Related Issues (20)

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.