public
Rubygem
Fork of jnunemaker/twitter
Description: command line twits and an api wrapper for twitter
Homepage: http://twitter.rubyforge.org/
Clone URL: git://github.com/technoweenie/twitter.git
name age message
file .gitignore Wed Apr 02 20:16:48 -0700 2008 made it so that command line interface can acce... [jnunemaker]
file CHANGELOG Wed Apr 02 20:31:17 -0700 2008 found a better way to do stdin, no longer requi... [jnunemaker]
file History.txt Wed Mar 12 20:31:08 -0700 2008 updated to latest version of newgem [jnunemaker]
file License.txt Wed Apr 02 20:23:07 -0700 2008 removed extra license and updated the original [jnunemaker]
file Manifest.txt Wed Apr 02 20:24:14 -0700 2008 removed MIT-LICENSE from manifest [jnunemaker]
file README.txt Mon Mar 12 17:56:52 -0700 2007 added release 0.0.5; cleaned up some code and s... [jnunemaker]
file Rakefile Sun Apr 27 10:38:24 -0700 2008 setup tests to actually run, looking in ENV['HO... [rick]
directory bin/ Wed Apr 02 20:31:17 -0700 2008 found a better way to do stdin, no longer requi... [jnunemaker]
directory config/ Wed Mar 12 20:31:08 -0700 2008 updated to latest version of newgem [jnunemaker]
directory examples/ Sat Mar 31 13:28:48 -0700 2007 added some tests; removed relative_created_at a... [jnunemaker]
directory lib/ Wed Apr 02 20:31:17 -0700 2008 found a better way to do stdin, no longer requi... [jnunemaker]
directory log/ Wed Mar 12 20:31:08 -0700 2008 updated to latest version of newgem [jnunemaker]
directory script/ Wed Mar 12 20:31:08 -0700 2008 updated to latest version of newgem [jnunemaker]
file setup.rb Thu Dec 14 17:32:12 -0800 2006 initial import of all my public projects [jnunemaker]
directory tasks/ Wed Mar 12 20:31:08 -0700 2008 updated to latest version of newgem [jnunemaker]
directory test/ Sun Apr 27 10:38:24 -0700 2008 setup tests to actually run, looking in ENV['HO... [rick]
README.txt
= addicted to twitter

... a sweet little diddy that helps you twitter your life away

== Command Line Use

  $ twitter

That will show the commands and each command will either run or show you the options it needs to run

  $ twitter post "releasing my new twitter gem"

That will post a status update to your twitter

== Examples

  Twitter::Base.new('your email', 'your password').update('watching veronica mars')

  # or you can use post
  Twitter::Base.new('your email', 'your password').post('post works too')

  puts "Public Timeline", "=" * 50
  Twitter::Base.new('your email', 'your password').timeline(:public).each do |s|
    puts s.text, s.user.name
    puts
  end

  puts '', "Friends Timeline", "=" * 50
  Twitter::Base.new('your email', 'your password').timeline.each do |s|
    puts s.text, s.user.name
    puts
  end

  puts '', "Friends", "=" * 50
  Twitter::Base.new('your email', 'your password').friends.each do |u|
    puts u.name, u.status.text
    puts
  end

  puts '', "Followers", "=" * 50
  Twitter::Base.new('your email', 'your password').followers.each do |u|
    puts u.name, u.status.text
    puts
  end