user_self | R Documentation |
Looks up tweets posted by a user.
user_self(
expansions = NULL,
fields = NULL,
...,
token = NULL,
parse = TRUE,
verbose = FALSE
)
expansions |
Set |
fields |
Set |
... |
Other arguments passed to the API. |
token |
These endpoints only accept a bearer token (can be created via
|
parse |
If |
verbose |
A logical value to provide more information about paginated queries. |
A data.frame with the id, name and username of the authenticated user.
Other information depends on the expansions
and fields
requested.
Accepted values are:
Expansions: set_expansions(tweet = NULL, list = NULL)
.
Fields: set_fields(media = NULL, poll = NULL, place = NULL)
https://developer.twitter.com/en/docs/twitter-api/users/lookup/api-reference/get-users-me
if (FALSE) {
me <- user_self()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.