rtweet (version 0.1.4)

make_url: make_url

Description

make_url

Usage

make_url(restapi = TRUE, query, param = NULL, version = "1.1")

Arguments

restapi
logical Default restapi = TRUE indicates the provided URL components should be specify Twitter's REST API. Set this to FALSE if you wish to make a request URL designed for Twitter's streaming api.
query
Twitter's subsetting/topic identifiers. Although the httr package refers to this as "path", query is used here to maintain consistency with Twitter API's excellent documentation.
param
Additional parameters (arguments) passed along. If none, NULL (default).
version
Twitter API version number. Defaults to most recent version, which at the current time is version = "1.1". Functions not tested on older versions.

Value

URL used in httr call.