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'
  2.  
  3. def test_twitter(username, password)
  4. conn = Twitter::Connection.new(username, password)
  5. conn.status.update("Is happy to see beautiful Ruby code :)")
  6. end

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.