tw_api_get_users_show: Get user information

Description Usage Arguments Details Value References See Also Examples

View source: R/twitter_api.R

Description

Get user information

Usage

1
2
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

An object of class Token1.0 as generated by tw_gen_token.

quietly

Whether to show the 'success' message or not

user_id

User id

include_entities

Not used

...

Additional arguments passed to GET()

Details

Using the twitter api, get information about a twitter account

From Twitter

Returns a variety of information about the user specified by the required user_id or screen_name parameter. The author<e2><80><99>s most recent Tweet will be returned inline when possible.

Value

A data.frame with info of the usr.

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

1
2
3
4
## Not run: 
tw_api_get_users_show('gvegayon', mytoken)

## End(Not run)

gvegayon/twitterreport documentation built on May 17, 2019, 9:30 a.m.