rtweet (version 0.6.0)

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

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

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

OAuth token. By default token = NULL fetches a non-exhausted token from an environment variable. Find instructions on how to create tokens and setup an environment variable in the tokens vignette (in r, send ?tokens to console).

...

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

Value

Tweets data of the most recent retweets of a given status

Details

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

See Also

Other retweets: get_retweeters