register_token: Register a Twitter authentication token with socialsampler

Description Usage Arguments Details See Also

View source: R/tokens.R

Description

If you try to register a token already in the cache, you'll get a warning. That is, you are protected from creating duplicate entries in the token cache.

Usage

1
register_token(api_key, api_secret, access_token, access_secret)

Arguments

api_key

Twitter application API key (character).

api_secret

Twitter application API secret (character).

access_token

Twitter access token (character).

access_secret

Twitter accces secret (character).

Details

For more details on how to get tokens please read vignette("auth", package = "rtweet").

See Also

rtweet::create_token()

Other tokens: get_all_tokens(), import_tokens_from_rtweet(), inspect_token_db(), unregister_all_tokens()


alexpghayes/socialsampler documentation built on Jan. 3, 2022, 6:54 p.m.