I am having a Twitter API , I checked it's output from the Twitter console where it authenticates with OAuth , there I get correct JSON response . I want to implement in my code in Java .
I have all 4 information consumer key , secret , access token , access secret .
https://api.twitter.com/1.1/statuses/user_timeline.json?count=3&user_id='id'&screen_name='name'
I want to get JSON response from this API and using OAuth client .
I tried few way of setting up OAuth client for getting json response using these documentations but it didn't work . http://www.smartjava.org/content/access-twitter-rest-api-v11-scala-and-java-using-signpost
Can anyone please share code snippet/ relevant doc of OAuth client for Twitter API 1.1 , that will be very helpful .
Regards