Created
March 4, 2010 08:08
-
-
Save igaiga/321527 to your computer and use it in GitHub Desktop.
get_twitter_using_hash
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
#! ruby -Ku | |
# coding: utf-8 | |
require "rubygems" | |
require "twitter" # gem install twitter | |
tw_hash = 'igaiga' | |
page_max = 3 | |
(1..page_max).each do |page_num| | |
Twitter::Search.new.hashed(tw_hash).page(page_num).per_page(200).each do |t| | |
puts "#{t.from_user} : #{t.text}" | |
# p t | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment