G'day Ista,
Thanks for setting me straight on that. I was misled by the fact that
my username on this machine is pat. Something led me to believe that
the twitter environment would be TWITTER_WORK but I don't have remote
access to check (and be disabused of that notion).
In any case, the
On 9 April 2020 at 10:32, Ista Zahn via ESS-help wrote:
| Are you sure you've diagnosed the issue correctly? From what I can see
| the name of the environment variable is always TWITTER_PAT, at least
| in the current rtweet release (0.7.0). get_tokens calls twitter_pat
|
Hi Patrick,
Are you sure you've diagnosed the issue correctly? From what I can see
the name of the environment variable is always TWITTER_PAT, at least
in the current rtweet release (0.7.0). get_tokens calls twitter_pat
(https://github.com/ropensci/rtweet/blob/v0.7.0/R/tokens.R#L120) and
I'm using the rtweet package which makes use of the Twitter API which
requires a token alluded to by an environment variable.
That environment variable is automatically set up from the Twitter web
site and takes the name TWITTER_ (where is the
name of the user in block letters). That worked