I am using REST API 1.1 to search the tweets based on query. I found java code to authenticate here http://www.coderslexicon.com/demo-of-twitter-application-only-oauth-authentication-using-java/
I am getting the following error when i execute my program
Server returned HTTP response code: 400 for URL: https://api.twitter.com/1.1/search/tweets.json?q=honda
Can any one help me. Is there any other way to authenticate using Java program ?
Any help would be greatly appreciated !!!