get_retweeted_by {academictwitteR}R Documentation

Get users who has retweeted a tweet

Description

This function fetches users who retweeted a tweet

Usage

get_retweeted_by(
  x,
  bearer_token = get_bearer(),
  data_path = NULL,
  verbose = TRUE
)

Arguments

x

string containing one tweet id or a vector of tweet ids

bearer_token

string, bearer token

data_path

string, if supplied, fetched data can be saved to the designated path as jsons

verbose

If FALSE, query progress messages are suppressed

Value

a data frame

Examples

## Not run: 
tweets <- c("1392887366507970561","1409931481552543749")
get_retweeted_by(tweets, bearer_token = get_bearer())

## End(Not run)

[Package academictwitteR version 0.3.1 Index]