#!/usr/bin/env ruby require 'rubygems' require 'rubytter' if ARGV.size < 2 puts "Usage: ruby #{File.basename(__FILE__)} user_id password" exit end client = Rubytter.new(ARGV[0], ARGV[1]) client.friends_timeline().each do |status| puts "#{status['user']['screen_name']}: #{status['text']}" end