Skip to content

Instantly share code, notes, and snippets.

@veryhappythings
Created May 19, 2009 13:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save veryhappythings/114090 to your computer and use it in GitHub Desktop.
Save veryhappythings/114090 to your computer and use it in GitHub Desktop.
Searching Twitter for things.
# ruby search_twitter.rb <username> <search string>
require 'rubygems'
require 'twitter'
Twitter::Search.new(ARGV[1]).from(ARGV[0]).each { |r| puts '--------------------------------', r.text }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment