Skip to content

Instantly share code, notes, and snippets.

Avatar

Masahiko Tachizono mshk

View GitHub Profile
@rhaamo
rhaamo / plop.rb
Created Nov 5, 2010
gem install twitter
View plop.rb
require 'rubygems'
require 'twitter'
search = Twitter::Search.new
notch = search.from("notch")
notch.each do |t|
puts ""
puts t.inspect
puts ""
@tily
tily / twitter_get_all_statuses.rb
Created Nov 16, 2010
Twitter の特定ユーザの 3200 発言を取得して YAML で保存する (適当)
View twitter_get_all_statuses.rb
$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: 最古だけじゃなく最新も取得できるようにする
You can’t perform that action at this time.