twitterコマンドラインクライアント(手抜き)
入力待ちして、updateするだけ。
ubuntuのechofon対応待ってますよ。
# coding : utf-8 require "twitter" ckey = "" csec = "" atoken="" asecret="" oauth = Twitter::OAuth.new(ckey,csec) oauth.authorize_from_access(atoken, asecret) tw = Twitter::Base.new(oauth) loop do a = gets a.chomp! break if a == "quit" tw.update(a) end