Skip to content

Instantly share code, notes, and snippets.

@yokohama
Created September 28, 2012 08:03
Show Gist options
  • Save yokohama/3798561 to your computer and use it in GitHub Desktop.
Save yokohama/3798561 to your computer and use it in GitHub Desktop.
自分のタイムラインを画面に表示させてみる
#
# 自分のタイムラインの内容をとってきて表示させてみるサンプルコード
#
require 'rubygems'
require 'twitter'
require 'pp'
Twitter.configure do |config|
config.consumer_key = 'Consumer Key'
config.consumer_secret = 'Consumer secret'
config.oauth_token = 'Access token'
config.oauth_token_secret = 'Access token secret'
end
pp Twitter.home_timeline
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment