Giter VIP home page Giter VIP logo

turpentine's Introduction

Turpentine

A delightful Twitter/Ruby on Rails learning project.

How to use

  1. sudo gem install json yaml rest-open-uri
  2. Rename config-example.yaml to config.yaml
  3. Edit user and password to match yours
  4. chmod +x turpentine.rb
  5. ./turpentine.rb
  6. To post tweets, open a new window and run ./turpentine.rb out

OAuth mode

  1. gem sources -a http://gems.github.com
  2. sudo gem install moomerman-twitter_oauth
  3. Edit the auth_mode line of config.yaml to read oauth. You’ll need to register for OAuth and edit the oauth section of config.yaml for your consumer key and secret.

Issues

This is all pretty clumsy at the moment, but it’s getting better. Here are some of the bigger concerns:

  • The only things that currently work are tweeting, viewing @replies, and seeing the friends_timeline. Favorites, direct messages, &c. don’t exist.
  • It would be good to verify that successful responses have a 200 code. I’m not sure how to do it; rest-open-uri doesn’t seem to expose such information.
  • Currently there is no time zone support, so you’ll see weird timestamps.

turpentine's People

Contributors

stilist avatar

Stargazers

Angus H. avatar Michael Powell avatar  avatar Rex Chung avatar

Watchers

 avatar  avatar

Forkers

rorcraft

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.