Start to End : Twitter client in Shoes
Prerequisites :
- I hope you have Shoes installed on your machine, operating system does not matter :)
- oauth gem (gem install oauth will do the trick or sudo if you have to!)
- 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 :
- Error handling
- Sophisticated architectural design and UI
- More features
Keep reading!!! :)
10 Notes/ Hide
-
foundationex liked this
-
publishingexc liked this
-
showcasinged liked this
-
hamiltonert liked this
-
returningde6 liked this
-
dictionaryde2 liked this
-
daughters45go liked this
-
miscarriage8it liked this
-
gloria2fg liked this
-
rubydubee posted this

