public
Fork of jnunemaker/twitter
Description: command line twits and an api wrapper for twitter
Homepage: http://twitter.rubyforge.org/
Clone URL: git://github.com/drnic/twitter.git
jnunemaker (author)
Sun May 04 16:02:52 -0700 2008
commit  014bc71d000e99c4b9178f19f373752b6ed2c23d
tree    97d6b8032a60f55c4711a9e00c04e67985fc5e7d
parent  4e73e4632f84874d24e188005cf90dec299567da
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:32:00 -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 Wed Mar 12 20:31:08 -0700 2008 updated to latest version of newgem [jnunemaker]
directory bin/ Wed Apr 02 20:32:00 -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/ Sun May 04 15:50:14 -0700 2008 added some base specs for new and timeline [jnunemaker]
directory lib/ Sun May 04 15:50:14 -0700 2008 added some base specs for new and timeline [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 spec/ Sun May 04 16:02:52 -0700 2008 slimmed down user spec, had some stupid crap [jnunemaker]
directory tasks/ Wed Mar 12 20:31:08 -0700 2008 updated to latest version of newgem [jnunemaker]
directory test/ Wed Jan 16 20:59:32 -0800 2008 updated to add visual progress dots during post... [jnunemaker]
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