Closed deepakdeps closed 3 years ago
I am having the same issue
Sorry couldn't understand what part of your application produces the error you mention. Please try to remove code that is not related to rtweet, so that I can focus on what might be the problem. Closing, now feel free to comment with a reproducible example
Problem
I have been building a basic rshiny app to analyze twitter data. I currently don't have developer account so I have been getting the token from the individual account using browser based login.
This works fine while creating the shinyapp on my local laptop but when I am deploying the App on shinyapps.io and trying to search data using rtweet search functions, the shinyapp gets disconnected. On checking the log I got following message:
Requesting token on behalf of user... Warning: Error in : API user token required. see http://rtweet.info/articles/auth.html for instructions
Expected behavior
Reproduce the problem
ui.R
library(shiny) library(plotly) library(rtweet) library(ggplot2) library(tm) library(wordcloud) library(wordcloud2) library(dplyr) library(tidyr) library(httpuv)
ui <- shinyUI( pageWithSidebar( headerPanel("Twitter Analysis"),
loading message
sidebarPanel( tags$head(tags$style(type="text/css", "
loadmessage {
)
rtweet version
0.7.0
copy/paste output
packageVersion("rtweet")
Token