View source: R/user_bookmarks.R
user_bookmarks | R Documentation |
Collects the 800 most recent bookmarked tweets of a user.
user_bookmarks(
id,
n = 100,
...,
expansions = NULL,
fields = NULL,
parse = TRUE,
token = NULL,
verbose = FALSE
)
id |
Twitter user id: character string identifying your account. |
n |
Number of tweets to retrieve. |
... |
Other arguments passed down to the API. |
expansions |
Set |
fields |
Set |
parse |
If |
token |
This endpoint only accept a OAuth2.0 authentication (can be
created via |
verbose |
A logical value |
A data.frame with the user information of who is following the list:
edit_history_tweet_ids, id and text.
Other information depends on the expansions
and fields
requested.
Accepted values are:
Expansions: set_expansions(list = NULL)
.
Fields: set_fields(list = NULL)
.
This endpoint requires a OAuth2.0 authentication, with tweet.read, users.read and bookmark.read permissions.
rtweet_oauth2()
, user_self()
if (FALSE) {
# Requires token_oa2
ub <- user_bookmarks(user_self()$id, parse = FALSE, n = Inf, token = token_oa2)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.