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

Description Usage Arguments Details Value See Also

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

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.

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


ashoksiri/rtweet documentation built on May 8, 2019, 5:55 p.m.