get_retweets: Get the most recent retweets of a specific Twitter status

Description Usage Arguments Details Value See Also

View source: R/retweets.R

Description

Returns a collection of the 100 most recent retweets of a given status. NOTE: Twitter's API is currently limited to 100 or fewer retweeters.

Usage

1
get_retweets(status_id, n = 100, parse = TRUE, token = NULL, ...)

Arguments

status_id

required The numerical ID of the desired status.

n

optional Specifies the number of records to retrieve. Must be less than or equal to 100.

parse

Logical indicating whether to convert the response object into an R list. Defaults to TRUE.

token

Every user should have their own Oauth (Twitter API) token. By default token = NULL this function looks for the path to a saved Twitter token via environment variables (which is what 'create_token()' sets up by default during initial token creation). For instruction on how to create a Twitter token see the tokens vignette, i.e., 'vignettes("auth", "rtweet")' or see ?tokens.

...

Other arguments used as parameters in the query sent to Twitter's rest API, for example, trim_user = TRUE.

Details

NOTE: Twitter's API is currently limited to 100 or fewer retweeters.

Value

Tweets data of the most recent retweets of a given status

See Also

Other retweets: get_retweeters()


rtweet documentation built on Jan. 11, 2020, 9:11 a.m.