This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$KCODE = 'UTF-8' | |
require 'rubygems' | |
require 'json' | |
require 'ya2yaml' | |
require 'oauth/cli/twitter' # gem install oauth-cli-twitter | |
# usage ruby twitter_get_all_statuses.rb username path/to/file | |
# TODO: 今何発言とったか表示できるようにする | |
# TODO: 最古だけじゃなく最新も取得できるようにする |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'twitter' | |
search = Twitter::Search.new | |
notch = search.from("notch") | |
notch.each do |t| | |
puts "" | |
puts t.inspect | |
puts "" |