.onLoad <- function(libname, pkgname){
cachedToken <- new.env()
dataFile <- system.file("data/oauth_cache.RData", package="tweetJobStatus")
load(dataFile, cachedToken)
assign("oauth_token", cachedToken$local_cache, envir=twitteR:::oauth_cache)
rm(cachedToken)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.