Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (22 sloc) 0.5 kB
require 'rubygems'
require File.join(File.dirname(__FILE__), '..', 'lib', 'twitter')
config = YAML::load(open(ENV['HOME'] + '/.twitter'))
twitter = Twitter::Base.new(config['email'], config['password'])
puts 'SINCE'
twitter.replies(:since => Time.now - 5.day).each do |s|
puts "- #{s.text}"
end
puts
puts
puts 'SINCE_ID'
twitter.replies(:since_id => 863081345).each do |s|
puts "- #{s.text}"
end
puts
puts
puts 'PAGE'
twitter.replies(:page => 1).each do |s|
puts "- #{s.text}"
end
puts
puts
Jump to Line
Something went wrong with that request. Please try again.