404 for unique picture URL

11 views
Skip to first unread message

Joshua Lambert

unread,
May 12, 2016, 3:06:16 PM5/12/16
to ShinyApps Users
ui.R:
uiOutput("picture1")
 
server.R:
output$picture1 <- renderUI({
      src<-unlist(lapply(sample(colnames(movdat)[2:683],size = 3),poster))
      tags$img(src= src[1])
    })

I have an app that displays three different movie posters. I have obtained the url's from the omdbapi package on github. I can access these webpages outside of Shiny just fine, and once I do the shiny app seems to display them. My problem arises when I get a new URL that I have not been to. The shiny app will not display it and gives the following error in the developer console of google chrome "403 (Forbidden)" next the movie poster url. 

Any ideas about how I can give access to shiny so it can get access to these new url's? Is there a command somewhere that will grant access to go to these sites?

Thanks.
    

Reply all
Reply to author
Forward
0 new messages