get_user_v2 | R Documentation |
This function allows you to collect data about one ore more users on twitter
get_user_v2(
token = NA,
user_ids = NA,
user_names = NA,
user_fields = "ALL",
tweet_fields = "author_id",
expansions = "ALL",
JSON = FALSE
)
token |
string of the bearer token from your personal twitter API access |
user_ids |
string of twitter users ids (multiple ids are separated with a comma) |
user_names |
string of twitter user names (multiple user names are separated with a comma) |
user_fields |
string which defaults to ALL (no other argument accepted at the moment) |
tweet_fields |
string which defaults to author_id (no other argument accepted at the moment) |
expansions |
string which defaults to ALL (no other arguent accepted at the moment) |
JSON |
boolean which defaults to FALSE (no other argument accepted at the moment) |
a data frame
## Not run:
users <- get_users_v2(token=bearer_token, user_names = "Twitter,TiwtterDev")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.