getStatuses: Downloads tweets by their ID from REST API and saves to a...

Description Usage Arguments Author(s)

View source: R/get-statuses.R

Description

Downloads tweets by their ID from REST API and saves to a json file

Usage

1
2
getStatuses(ids = NULL, filename, oauth, tweet_mode = "extended",
  verbose = TRUE, sleep = 1)

Arguments

ids

list of tweet IDs to be downloaded

filename

Name of file where json tweets will be stored

oauth

One of the following: either a list with details for an access token (see example below), a folder where OAuth tokens are stored, or a csv file with the format: consumer_key, consumer_secret, access_token, access_token_secret.

tweet_mode

if "extended", will return up to 280 characters per tweet.

verbose

If TRUE, prints information about API calls on console

sleep

Number of seconds to sleep between API calls.

Author(s)

Pablo Barbera pbarbera@usc.edu


lingeringcode/tweetscoresmod documentation built on Feb. 18, 2020, 5:28 p.m.