get_retweets

0th

Percentile

Get the most recent retweets of a specific Twitter status

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.

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

Aliases
  • get_retweets
Documentation reproduced from package rtweet, version 0.6.0, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.