Sha256: f8f0d9e319c3c24700991396c78f5b88dbfb12858e2a600e60900ad23f17e4b4

Contents?: true

Size: 354 Bytes

Versions: 32

Compression:

Stored size: 354 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 twitter.post("This is a test from the example file").inspect

# sending a direct message
# puts twitter.d('jnunemaker', 'this is a test').inspect

Version data entries

32 entries across 32 versions & 15 rubygems

Version Path
anthonycrumley-twitter-0.3.8 examples/posting.rb
baron-twitter-0.4.2 examples/posting.rb
billymeltdown-twitter-0.3.8.1 examples/posting.rb
billymeltdown-twitter-0.4.2 examples/posting.rb
billymeltdown-twitter-0.4.3 examples/posting.rb
drnic-twitter-0.4.4.1 examples/posting.rb
dschn-twitter-0.3.7.1 examples/posting.rb
dschn-twitter-0.3.7.2 examples/posting.rb
dschn-twitter-0.4.1.1 examples/posting.rb
dschn-twitter-0.4.1.2 examples/posting.rb
dschn-twitter-0.4.1.3 examples/posting.rb
dschn-twitter-0.4.1 examples/posting.rb
dustin-twitter-0.3.7 examples/posting.rb
gilesbowkett-gilesbowkett-twitter-0.4.4 examples/posting.rb
gilesbowkett-twitter-0.4.3 examples/posting.rb
gilesbowkett-twitter-0.4.5 examples/posting.rb
handcrafted-twitter-0.4.0 examples/posting.rb
handcrafted-twitter-0.4.2 examples/posting.rb
jnunemaker-twitter-0.3.6 examples/posting.rb
jnunemaker-twitter-0.3.7 examples/posting.rb