How can I send get request dynamically?

I am developing a shiny app that you can choose language and according to language selected, I want to send get request to an url. I'm doing that like this now ;
input$term (term = my input text that ı get from user)

search <- input$term
url <- ("http://localhost:8090/")
x <- "tweets?q="
y <- search
paste(url,x,y,seq="")

I'm doing it because according to customer's word that he/she want to search, I want to get tweets from twitter about this word. But I didn't get customer's word that he/she want to search properly. On the other hand When didnt start my app, ı gave the term manually and this url parse worked.

the problem might be spaces in the URL, try this

paste(url,x,y,sep="")