Sha256: e686078fe30dee696b95b7dc81f35bafdc74d0ffe29b8f089e3aec311e008c2a
Contents?: true
Size: 524 Bytes
Versions: 21
Compression:
Stored size: 524 Bytes
Contents
require 'rubygems' require 'activesupport' 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
Version data entries
21 entries across 21 versions & 13 rubygems