Skip to content

Instantly share code, notes, and snippets.

@andion
Forked from veryhappythings/search_twitter.rb
Created May 19, 2009 13:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andion/114101 to your computer and use it in GitHub Desktop.
Save andion/114101 to your computer and use it in GitHub Desktop.
# 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