How should I deal with twitter auth token in shinyapp?


This is my first post, so please be kind.

I built simple shinyapp that download tweets from a particular account and display some simple statistics and graphs (sentiment analysis, word clouds, etc.). I used rtweet package. I would like to publish it at The app works as intended locally using twitter auth token saved as a global environment.

How should I safely authorize my app publishing it online? Hardcoding my API keys into the script feels terrible idea.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.