Created
November 7, 2009 13:50
-
-
Save gorsuch/228712 to your computer and use it in GitHub Desktop.
Easy Twitter Search w/ Ruby
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' | |
Twitter::Search.new('#onecushion').each do |r| | |
puts "id: " + r.id.to_s | |
puts "user: " + r.from_user | |
puts "user_id: "+r.from_user_id.to_s | |
puts "image_url: "+r.profile_image_url | |
puts "message: "+r.text | |
puts "" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment