function loads twitteR package that should have been
installed beforehand via:
devtools::install_github("geoffjentry/twitteR")
function loads
user credentials via Sys.getenv()
to than do OAuth with server
function assumes that you have saved your credentials in .Renviron file
in user path ( normalizePath("~/")
) as described here:
http://stat545-ubc.github.io/bit003_api-key-env-var.html
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.