Skip to content

Instantly share code, notes, and snippets.

@minase
Created September 30, 2009 05:55
Show Gist options
  • Save minase/197847 to your computer and use it in GitHub Desktop.
Save minase/197847 to your computer and use it in GitHub Desktop.
## % ruby -rnet/http twitpost.rb
res = Net::HTTP.post_form(URI.parse("http://USERNAME:PASSWORD@twitter.com/statuses/update.xml"), :status => 'おっぱい', :source => 'oppai')
puts 'update was failed' unless res.instance_of? Net::HTTPOK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment