Sha256: c7e6dbaaa3084f64c8f75119b1fa2c0eed5fceb484cf10d4662d74ae6b4948b5

Contents?: true

Size: 417 Bytes

Versions: 21

Compression:

Stored size: 417 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 'CREATE'
puts twitter.create_favorite(865416114).text
puts
puts

puts 'FAVORITES'
twitter.favorites.each { |f| puts f.text }
puts
puts

puts 'DESTROY'
puts twitter.destroy_favorite(865416114).text
puts
puts

Version data entries

21 entries across 21 versions & 13 rubygems

Version Path
baron-twitter-0.4.2 examples/favorites.rb
billymeltdown-twitter-0.4.2 examples/favorites.rb
billymeltdown-twitter-0.4.3 examples/favorites.rb
drnic-twitter-0.4.4.1 examples/favorites.rb
dschn-twitter-0.4.1.1 examples/favorites.rb
dschn-twitter-0.4.1.2 examples/favorites.rb
dschn-twitter-0.4.1.3 examples/favorites.rb
dschn-twitter-0.4.1 examples/favorites.rb
gilesbowkett-gilesbowkett-twitter-0.4.4 examples/favorites.rb
gilesbowkett-twitter-0.4.3 examples/favorites.rb
gilesbowkett-twitter-0.4.5 examples/favorites.rb
handcrafted-twitter-0.4.2 examples/favorites.rb
jnunemaker-twitter-0.4.0 examples/favorites.rb
jnunemaker-twitter-0.4.1 examples/favorites.rb
jnunemaker-twitter-0.4.2 examples/favorites.rb
jnunemaker-twitter-0.4.4 examples/favorites.rb
lazyatom-twitter-0.4.2.1 examples/favorites.rb
netshade-twitter-0.4.2.1 examples/favorites.rb
neufelry-twitter-0.4.2 examples/favorites.rb
pjdavis-twitter-0.4.2 examples/favorites.rb