examples/search.rb in dschn-twitter-0.3.7.2 vs examples/search.rb in dschn-twitter-0.4.1
- old
+ new
@@ -1,8 +1,9 @@
require 'rubygems'
require File.join(File.dirname(__FILE__), '..', 'lib', 'twitter')
Twitter::Search.new('httparty').each { |r| puts r.inspect,'' }
+Twitter::Search.new('httparty').page(2).each { |r| puts r.inspect, '' }
# search = Twitter::Search.new
# search.from('jnunemaker').to('oaknd1').each { |r| puts r.inspect, '' }
# pp search.result
# search.clear
\ No newline at end of file