Learn R Programming

twitterreport (version 0.15.11)

tw_api_get_users_show: Get user information

Description

Get user information

Usage

tw_api_get_users_show(screen_name = NULL, twitter_token, quietly = FALSE, user_id = NULL, include_entities = "false", ...)

Arguments

screen_name
User screen name
twitter_token
Token
quietly
Whether to show the 'success' message or not
user_id
User id
include_entities
Not used
...
Additional arguments passed to GET

Value

A data.frame with info of the usr.
  • id
  • name
  • screen_name
  • contributors_enabled
  • created_at
  • default_profile
  • default_profile_image
  • description
  • favourites_count
  • followers_count
  • friends_count
  • geo_enabled
  • is_translator
  • lang
  • listed_count
  • location
  • profile_image_url
  • profile_image_url_https
  • protected
  • statuses_count
  • time_zone
  • utc_offset
  • verified

Details

Using the twitter api, get information about a twitter account From TwitterReturns a variety of information about the user specified by the required user_id or screen_name parameter. The author’s most recent Tweet will be returned inline when possible.

References

Twitter REST API (GET users/show) https://dev.twitter.com/rest/reference/get/users/show

See Also

Other API functions: tw_api_get_followers_ids, tw_api_get_followers_list, tw_api_get_friends_ids, tw_api_get_search_tweets, tw_api_get_statuses_sample, tw_api_get_statuses_user_timeline, tw_api_get_trends_place, tw_api_get_users_search, tw_api_trends_available, tw_gen_token

Examples

Run this code
## Not run: 
# tw_api_get_users_show('gvegayon', mytoken)
# ## End(Not run)

Run the code above in your browser using DataLab