Skip to content

Instantly share code, notes, and snippets.

@gorsuch
Created November 7, 2009 13:50
Show Gist options
  • Save gorsuch/228712 to your computer and use it in GitHub Desktop.
Save gorsuch/228712 to your computer and use it in GitHub Desktop.
Easy Twitter Search w/ Ruby
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