Ruby Twitter sample

/ Published in: Ruby
Save to your folder(s)

Sample snip for my twitter wrapper.

Copy this code and paste it in your HTML
  1. require 'twitter'
  3. def test_twitter(username, password)
  4. conn =, password)
  5. conn.status.update("Is happy to see beautiful Ruby code :)")
  6. end

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.