get_bearer {academictwitteR} | R Documentation |
Manage bearer token
Description
This function attempts to retrieve your bearer token from the environmental variable "TWITTER_BEARER".
The easiest way to setup this environmental variable is to use set_bearer()
and insert your bearer token to .Renviron
file following the format: TWITTER_BEARER=YOURTOKENHERE.
Replace YOURTOKENHERE with your own token.
Usage
get_bearer()
Details
Note: for get_bearer()
to retrieve your bearer token you will need to restart the
R session after storing in .Renviron
.
Value
string represents your bearer token, if it the environmental variable "TWITTER_BEARER" has been preset.
[Package academictwitteR version 0.3.1 Index]