Skip to content

Instantly share code, notes, and snippets.

@yhara
Created May 27, 2015 17:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yhara/69fb713ad7638baeb739 to your computer and use it in GitHub Desktop.
Save yhara/69fb713ad7638baeb739 to your computer and use it in GitHub Desktop.
# twitter gem 5.x
# https://apps.twitter.com/
#
require 'twitter'
client = Twitter::REST::Client.new do |config|
config.consumer_key = "..."
config.consumer_secret = "..."
config.access_token = "..."
config.access_token_secret = "..."
end
p client.update("test\ntest")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment