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

Version Path
anthonycrumley-twitter-0.3.8 examples/sent_messages.rb
billymeltdown-twitter-0.3.8.1 examples/sent_messages.rb
dschn-twitter-0.3.7.1 examples/sent_messages.rb
dschn-twitter-0.3.7.2 examples/sent_messages.rb
dustin-twitter-0.3.2.1 examples/sent_messages.rb
dustin-twitter-0.3.2.2 examples/sent_messages.rb
dustin-twitter-0.3.7 examples/sent_messages.rb
handcrafted-twitter-0.4.0 examples/sent_messages.rb
jnunemaker-twitter-0.2.8 examples/sent_messages.rb
jnunemaker-twitter-0.3.1 examples/sent_messages.rb
jnunemaker-twitter-0.3.4 examples/sent_messages.rb
jnunemaker-twitter-0.3.5 examples/sent_messages.rb
jnunemaker-twitter-0.3.6 examples/sent_messages.rb
jnunemaker-twitter-0.3.7 examples/sent_messages.rb
jnunemaker-twitter-0.3.8 examples/sent_messages.rb
pjdavis-twitter-0.3.8 examples/sent_messages.rb
pjdavis-twitter-0.3.9 examples/sent_messages.rb