Query String giving error code 215


I want to post a link for twitter search and get json code in return. I want to put something like this in browser-
But I am getting this error- {“errors”:[{“message”:“Bad Authentication data”,“code”:215}]}

From various community answers I also understand that I need to create an app and generate a key. But how do I put that key in the query string above which I am using in browser?


Probably the easiest thing to do here would be to use an API library for a language you are familiar with, which will do all the OAuth work you need with your key.