Learn R Programming

twitteR (version 1.1.9)

retweets: Functions to work with retweets

Description

These functions can be used to return retweets or users who retweeted a tweet

Usage

retweets(id, n = 20, ...)

Arguments

id
The ID of the tweet to get retweet information on
n
The number of results to return, up to 100
...
Further arguments to pass on to httr

Value

For retweets the n most recent retweets of the original tweet.For retweeters the n most recent users who have retweeted this tweet.

See Also

showStatus

Examples

Run this code
  ## Not run: 
#      retweets("21947795900469248")
#      
#      st = showStatus("21947795900469248")
#      retweeters(st$getId())
#   ## End(Not run)

Run the code above in your browser using DataLab