Home > All > rubyのTwitter::Base.new().verify_credentialsのメソッド?一覧

rubyのTwitter::Base.new().verify_credentialsのメソッド?一覧

November 11th, 2009 Leave a comment Go to comments

verify_credentialsメソッドは認証したユーザについての情報を返す
Mashとかいうhashっぽいので定義されていて、何故かメソッドのごとく” . “でアクセス出来る
例)Twitter::Base.new(oauth).verify_credentials.screen_name

created_at
description
favorited
favourites_count
followers_count
following
friends_count
geo_enabled
href
id
in_reply_to_screen_name
in_reply_to_status_id
in_reply_to_user_id
location
name
notifications
profile_background_color
profile_background_image_url
profile_background_tile
profile_image_url
profile_link_color
profile_sidebar_border_color
profile_sidebar_fill_color
profile_text_color
protected
rel
screen_name
source
status
statuses_count
text
time_zone
truncated
url
utc_offset
verified

関連記事:

Tags: ,
  1. No comments yet.
  1. No trackbacks yet.