自分のタイムライン取得
statusオブジェクトはこれに準拠してる
http://twitter.com/statuses/user_timeline.xml
#!/usr/bin/ruby require 'rubygems' gem 'twitter' require 'twitter' require 'cgi' twit = Twitter::Base.new("username","password") $KCODE = 'UTF8' twit.timeline(:user).each{|status| puts CGI.unescapeHTML('screen_name: ' << status.user.screen_name) puts CGI.unescapeHTML('text: ' << status.text) puts CGI.unescapeHTML('id: ' << status.id) puts '---' }
screen_name: shokai text: 今日の昼ぐらいtwitterからreblogしたい流れがあったんだけどログが流れた id: 768521207 --- screen_name: shokai text: activerecord動いた。onmemoryでもfileでも。 id: 768515803 --- screen_name: shokai text: NOFUTURE id: 768499755 --- screen_name: shokai text: またニコニコ動画見てる : サガフロンティア アレンジBGM集 http://www.nicovideo.jp/watch/sm1807060 (26:06) この人何者だろ id: 768498880 --- screen_name: shokai text: またニコニコ動画見てる : 【18禁】吊り動画1 http://www.nicovideo.jp/watch/sm1896631 (11:56) id: 768495221 --- screen_name: shokai text: 帰ってきた id: 768477244