Permalink
Browse files

Got basic timeline working

  • Loading branch information...
1 parent 7a0e91f commit d634ba7aa37a58f551018bf6ac8f6f356f845f14 @joestrong committed Aug 16, 2012
Showing with 11 additions and 4 deletions.
  1. +11 −4 shoes.rb
View
15 shoes.rb
@@ -5,8 +5,15 @@
require 'twitter'
Shoes.app do
- @text = Twitter.user_timeline("strongjoe").first.text
- stack{
- para @text
- }
+ background "#fff".."#eee"
+ border("#ccc", :strokewidth => 6)
+ @timeline = Twitter.user_timeline("strongjoe")
+ stack do
+ @timeline.each do |tweet|
+ flow do
+ para tweet.from_user_id
+ para tweet.text
+ end
+ end
+ end
end

0 comments on commit d634ba7

Please sign in to comment.