Sha256: 20259a29d00ba15ce46f5ea32a07b9ff79fdfaa33c1e9e1d290237f240622ed9
Contents?: true
Size: 517 Bytes
Versions: 17
Compression:
Stored size: 517 Bytes
Contents
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.sent_messages(:since => Time.now - 5.day).each do |s| puts "- #{s.text}" end puts puts puts 'SINCE_ID' twitter.sent_messages(:since_id => 33505386).each do |s| puts "- #{s.text}" end puts puts puts 'PAGE' twitter.sent_messages(:page => 1).each do |s| puts "- #{s.text}" end puts puts
Version data entries
17 entries across 17 versions & 7 rubygems