Skip to content

Instantly share code, notes, and snippets.

@norcali
Created March 15, 2013 15:26
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 norcali/5170642 to your computer and use it in GitHub Desktop.
Save norcali/5170642 to your computer and use it in GitHub Desktop.
- (Twitter::User) user(user, options = {})
Returns extended information for a given user
Examples:
Return extended information for @sferik
Twitter.user('sferik')
Twitter.user(7505382) # Same as above
Parameters:
user (Integer, String, Twitter::User) — A Twitter user ID, screen name, or object.
options (Hash) (defaults to: {}) — A customizable set of options.
Options Hash (options):
:include_entities (Boolean) — The tweet entities node will be disincluded when set to false.
:skip_status (Boolean, String, Integer) — Do not include user's Tweets when set to true, 't' or 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment