Query String giving error code 215


#1

I want to post a link for twitter search and get json code in return. I want to put something like this in browser-
https://api.twitter.com/1.1/search/tweets.json?q=sumitpuri
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?


#2

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.