Search Wiki:
Sample code of how to interact with the Twitter API from IronRuby, allowing you to send tweet's from the IronRuby REPL.

IronTwitter allows you to update your twitter status from the IronRuby REPL.

require 'IronTwitter'
twitter = IronTwitter.new 'username', 'password'
twitter.t "Hello from IronTwitter!"

As well as output your friends timeline to the console

twitter.friends_timeline do |status|
      status.node('user') {|u| print u.get('name') }
      print '    '
      puts status.get('text')
end 

More information on my blog - http://blog.benhall.me.uk/2009/01/irontwitter-sending-tweet-from-ironruby.html
Last edited Jan 14 2009 at 12:38 AM  by BenHall, version 3
Updating...
Page view tracker