Advertisement
Guest User

Ruby Code

a guest
Feb 17th, 2015
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.33 KB | None | 0 0
  1. require 'twitter'
  2. client = Twitter::REST::Client.new do |config|
  3. config.consumer_key = "1Jc4JiHaGNhsZhKs1iYvEeen"
  4. config.consumer_secret = "hejejejejeje"
  5. config.access_token = "304375275651562894-oqJKjh7htnesiidhrb4RtDIL"
  6. config.access_token_secret = "ly5Q4KL6v6oVowjendeksoehJ3"
  7. client.update("I'm tweeting with @gem!")
  8. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement