RubyDubee

  • Archive
  • RSS

Start to End : Twitter client in Shoes

Prerequisites :

  1. I hope you have Shoes installed on your machine, operating system does not matter :)
  2. oauth gem (gem install oauth will do the trick or sudo if you have to!)
  3. json gem as well(to parse the response) (gem install json)

Let’s start :
Step 1 : Register your application at Twitter (HERE), give some cool name like “Rubydubee”(not this x-( ).

Step 2 : Lets first write our own library(ehh? don’t worry you can just copy the code here :) ), But you can try to understand that… very small & simple if you know the OAuth protocol.(the oauth gem does all the magic.)

Step 3 : Let’s write our Application


The code is intuitive! isn’t it? if you need any help plz comment!
After you run this “shoes main.rb” it will look somewhat like this :

Thanks for reading this post!
Next post will bring following points :

  1. Error handling
  2. Sophisticated architectural design and UI
  3. More features

Keep reading!!! :)

    • #Shoes
    • #Twitter
    • #Json
    • #Oauth
    • #Ruby
  • 1 year ago
  • 10
  • Comments
  • Permalink
  • Share
    Tweet

10 Notes/ Hide

  1. foundationex liked this
  2. publishingexc liked this
  3. showcasinged liked this
  4. hamiltonert liked this
  5. returningde6 liked this
  6. dictionaryde2 liked this
  7. daughters45go liked this
  8. miscarriage8it liked this
  9. gloria2fg liked this
  10. rubydubee posted this

Recent comments

Blog comments powered by Disqus
← Previous • Next →

About

I am Pradyumna and You can read my Rubyish Resume (once it is done) to know more about me!

Pages

  • My Rubyish Resume

Twitter

loading tweets…

I Dig These Posts

See more →
  • RSS
  • Random
  • Archive
  • Mobile

Effector Theme by Carlo Franco.

Powered by Tumblr