Learn R Programming

rtweet (version 0.7.0)

get_retweeters: Get user IDs of users who retweeted a given status.

Description

Returns user IDs of users who retweeted a given status. At the current time, this function is limited in returning a maximum of 100 users for a given status.

Usage

get_retweeters(status_id, n = 100, parse = TRUE, token = NULL)

Value

data

Arguments

status_id

required The status ID of the desired status.

n

Specifies the number of records to retrieve. Best if intervals of 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.

Details

At time of writing, pagination offers no additional data.

See Also

Other retweets: get_retweets()