Skip to content

Instantly share code, notes, and snippets.

@oliverbarnes
Forked from holin/Omniauth Twitter Hash
Created July 28, 2013 01:17
Show Gist options
  • Save oliverbarnes/6096959 to your computer and use it in GitHub Desktop.
Save oliverbarnes/6096959 to your computer and use it in GitHub Desktop.
--
provider: twitter
uid: '15280529'
info:
  nickname: penguinbusiness
  name: Charlie Moseley
  location: Bellevue, WA
  image: http://a1.twimg.com/profile_images/281933747/kitamura_ava_normal.gif
  description: Developer, Otaku, Geek.
  urls:
    Website: http://emotejiji.com
    Twitter: http://twitter.com/penguinbusiness
credentials:
  token: xxxxxxxxxxx
  secret: xxxxxxxxxxx
extra:
  access_token: !ruby/object:OAuth::AccessToken
    token: 15280529-xxxxxxxxxxx
    secret: xxxxxxxxxxx
    consumer: !ruby/object:OAuth::Consumer
      key: xxxxxxxxxxx
      secret: xxxxxxxxxxx
      options:
        :signature_method: HMAC-SHA1
        :request_token_path: /oauth/request_token
        :authorize_path: /oauth/authenticate
        :access_token_path: /oauth/access_token
        :proxy: !!null
        :scheme: :header
        :http_method: :post
        :oauth_version: '1.0'
        :site: https://api.twitter.com
      http: !ruby/object:Net::HTTP
        address: api.twitter.com
        port: 443
        curr_http_version: '1.1'
        no_keepalive_server: false
        close_on_empty_response: false
        socket: !!null
        started: false
        open_timeout: 30
        read_timeout: 30
        debug_output: !!null
        use_ssl: true
        ssl_context: !ruby/object:OpenSSL::SSL::SSLContext
          cert: !!null
          key: !!null
          client_ca: !!null
          ca_file: !!null
          ca_path: !!null
          timeout: !!null
          verify_mode: 0
          verify_depth: !!null
          verify_callback: !!null
          options: 4095
          cert_store: !!null
          extra_chain_cert: !!null
          client_cert_cb: !!null
          tmp_dh_callback: !!null
          session_id_context: !!null
          session_get_cb: !!null
          session_new_cb: !!null
          session_remove_cb: !!null
          servername_cb: !!null
        enable_post_connection_check: true
        compression: !!null
        sspi_enabled: false
        ssl_version: !!null
        key: !!null
        cert: !!null
        ca_file: !!null
        ca_path: !!null
        cert_store: !!null
        ciphers: !!null
        verify_mode: 0
        verify_callback: !!null
        verify_depth: !!null
        ssl_timeout: !!null
        newimpl: true
      http_method: :post
      uri: !ruby/object:URI::HTTPS
        scheme: https
        user: !!null
        password: !!null
        host: api.twitter.com
        port: 443
        path: ''
        query: !!null
        opaque: !!null
        registry: !!null
        fragment: !!null
        parser: !!null
    params:
      :oauth_token: 15280529-b9KZZfJdhvxxuRc00aX8Upka3TWoK14q7rNJsfIfS
      oauth_token: 15280529-b9KZZfJdhvxxuRc00aX8Upka3TWoK14q7rNJsfIfS
      :oauth_token_secret: MNNZzt0h1nHmlMrjdL7R13gXdEpRaxf12H2U5Cyig
      oauth_token_secret: MNNZzt0h1nHmlMrjdL7R13gXdEpRaxf12H2U5Cyig
      :user_id: '15280529'
      user_id: '15280529'
      :screen_name: penguinbusiness
      screen_name: penguinbusiness
    response: !ruby/object:Net::HTTPOK
      http_version: '1.1'
      code: '200'
      message: OK
      header:
        date:
        - Thu, 16 Feb 2012 09:46:48 GMT
        status:
        - 200 OK
        x-mid:
        - 9cad143eaec836b9fa77a0adf4807cac8993ca78
        content-length:
        - '1823'
        x-runtime:
        - '0.03272'
        x-transaction:
        - 074a90280c02d35f
        last-modified:
        - Thu, 16 Feb 2012 09:46:48 GMT
        x-transaction-mask:
        - a6183ffa5f8ca943ff1b53b5644ef114ad1b1b55
        x-ratelimit-reset:
        - '1329387493'
        cache-control:
        - no-cache, no-store, must-revalidate, pre-check=0, post-check=0
        pragma:
        - no-cache
        x-ratelimit-remaining:
        - '343'
        x-frame-options:
        - SAMEORIGIN
        x-ratelimit-class:
        - api_identified
        etag:
        - ! '"3c44b9c496a4655e83b843b899860c66"'
        expires:
        - Tue, 31 Mar 1981 05:00:00 GMT
        x-ratelimit-limit:
        - '350'
        x-access-level:
        - read-write
        content-type:
        - application/json; charset=utf-8
        x-revision:
        - DEV
        set-cookie:
        - k=10.35.38.138.1329385608217555; path=/; expires=Thu, 23-Feb-12 09:46:48
          GMT; domain=.twitter.com
        - guest_id=v1%3A132938560822073936; domain=.twitter.com; path=/; expires=Sat,
          15-Feb-2014 21:46:48 GMT
        - dnt=; domain=.twitter.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
        - lang=en; path=/
        - twid=u%3D15280529%7C0RIjN359a%2Bf1wOUG%2BhHlNrjco8Y%3D; domain=.twitter.com;
          path=/
        - _twitter_sess=BAh7CjoHdWEwOgxjc3JmX2lkIiUwZjkzNjZjZDZhMTI2YWI2N2I3MzgxNmIx%250ANGE1M2U0OToPY3JlYXRlZF9hdGwrCCaUjoU1ASIKZmxhc2hJQzonQWN0aW9u%250AQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7ADoHaWQi%250AJTQ2NmRjNjNmNTZlZjgwZjc2OWYxNzExNDYxZjM1ZDMy--b5348655e4ea694f88fa532455fb953808884f08;
          domain=.twitter.com; path=/; HttpOnly
        vary:
        - Accept-Encoding
        server:
        - tfe
      body: ! '{"id":15280529,"favourites_count":1,"created_at":"Mon Jun 30 17:06:55
        +0000 2008","statuses_count":748,"following":false,"profile_image_url":"http:\/\/a1.twimg.com\/profile_images\/281933747\/kitamura_ava_normal.gif","show_all_inline_media":false,"profile_sidebar_border_color":"DFDFDF","followers_count":60,"id_str":"15280529","utc_offset":-28800,"location":"Bellevue,
        WA","profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/281933747\/kitamura_ava_normal.gif","profile_background_tile":false,"name":"Charlie
        Moseley","geo_enabled":true,"notifications":false,"profile_sidebar_fill_color":"F3F3F3","default_profile":false,"follow_request_sent":false,"protected":false,"is_translator":false,"screen_name":"penguinbusiness","profile_background_color":"EBEBEB","friends_count":30,"time_zone":"Pacific
        Time (US & Canada)","description":"Developer, Otaku, Geek.","listed_count":1,"profile_background_image_url":"http:\/\/a1.twimg.com\/images\/themes\/theme7\/bg.gif","profile_background_image_url_https":"https:\/\/si0.twimg.com\/images\/themes\/theme7\/bg.gif","lang":"en","profile_link_color":"990000","verified":false,"status":{"id_str":"169924118702075904","coordinates":null,"contributors":null,"favorited":false,"place":null,"in_reply_to_user_id":null,"geo":null,"retweeted":false,"retweet_count":0,"created_at":"Wed
        Feb 15 23:20:41 +0000 2012","in_reply_to_status_id_str":null,"in_reply_to_status_id":null,"source":"web","in_reply_to_user_id_str":null,"truncated":false,"id":169924118702075904,"in_reply_to_screen_name":null,"text":"I
        guess I should probably start using this again given a lot of my projects
        use Twitter for login credentials :A."},"profile_use_background_image":true,"contributors_enabled":false,"default_profile_image":false,"url":"http:\/\/emotejiji.com","profile_text_color":"333333"}'
      read: true
      socket: !!null
      body_exist: true
  raw_info:
    id: 15280529
    favourites_count: 1
    created_at: Mon Jun 30 17:06:55 +0000 2008
    statuses_count: 748
    following: false
    profile_image_url: http://a1.twimg.com/profile_images/281933747/kitamura_ava_normal.gif
    show_all_inline_media: false
    profile_sidebar_border_color: DFDFDF
    followers_count: 60
    id_str: '15280529'
    utc_offset: -28800
    location: Bellevue, WA
    profile_image_url_https: https://si0.twimg.com/profile_images/281933747/kitamura_ava_normal.gif
    profile_background_tile: false
    name: Charlie Moseley
    geo_enabled: true
    notifications: false
    profile_sidebar_fill_color: F3F3F3
    default_profile: false
    follow_request_sent: false
    protected: false
    is_translator: false
    screen_name: penguinbusiness
    profile_background_color: EBEBEB
    friends_count: 30
    time_zone: Pacific Time (US & Canada)
    description: Developer, Otaku, Geek.
    listed_count: 1
    profile_background_image_url: http://a1.twimg.com/images/themes/theme7/bg.gif
    profile_background_image_url_https: https://si0.twimg.com/images/themes/theme7/bg.gif
    lang: en
    profile_link_color: '990000'
    verified: false
    status:
      id_str: '169924118702075904'
      coordinates: !!null
      contributors: !!null
      favorited: false
      place: !!null
      in_reply_to_user_id: !!null
      geo: !!null
      retweeted: false
      retweet_count: 0
      created_at: Wed Feb 15 23:20:41 +0000 2012
      in_reply_to_status_id_str: !!null
      in_reply_to_status_id: !!null
      source: web
      in_reply_to_user_id_str: !!null
      truncated: false
      id: 169924118702075904
      in_reply_to_screen_name: !!null
      text: I guess I should probably start using this again given a lot of my projects
        use Twitter for login credentials :A.
    profile_use_background_image: true
    contributors_enabled: false
    default_profile_image: false
    url: http://emotejiji.com
    profile_text_color: '333333'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment