get_tokens

0th

Percentile

Fetching Twitter authorization token(s).

Call function used to fetch and load Twitter OAuth tokens. Since Twitter application key should be stored privately, users should save the path to token(s) as an environment variable. This allows Tokens to be instantly [re]loaded in future sessions. See the "tokens" vignette for instructions on obtaining and using access tokens.

Usage
get_tokens()

get_token()

Details

This function will search for tokens using R, internal, and global environment variables (in that order).

Value

Twitter OAuth token(s) (Token1.0).

See Also

Other tokens: create_token, rate_limit

Aliases
  • get_tokens
  • get_token
Examples
# NOT RUN {
# }
# NOT RUN {
## fetch default token(s)
token <- get_tokens()

## print token
token

# }
# NOT RUN {
# }
Documentation reproduced from package rtweet, version 0.6.0, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.