Created
May 19, 2009 13:28
-
-
Save veryhappythings/114090 to your computer and use it in GitHub Desktop.
Searching Twitter for things.
This file contains hidden or 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 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