get_bearer | R Documentation |
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.
get_bearer()
Note: for get_bearer()
to retrieve your bearer token you will need to restart the
R session after storing in .Renviron
.
string represents your bearer token, if it the environmental variable "TWITTER_BEARER" has been preset.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.