retweets: Functions to work with retweets

Description Usage Arguments Value Author(s) See Also Examples

Description

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

Usage

1
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.

Author(s)

Jeff Gentry

See Also

showStatus

Examples

1
2
3
4
5
6
7
  ## Not run: 
     retweets("21947795900469248")
     
     st = showStatus("21947795900469248")
     retweeters(st$getId())
  
## End(Not run)

geoffjentry/twitteR documentation built on May 17, 2019, 1:12 a.m.