How to get authenticated user tweets


#1

Hi I have a accesstoken with me,Now how to get the logged in user tweets
APi is https://api.twitter.com/1.1/statuses/mentions_timeline.json .What are the parameters i need to pass?
When i tried this https://api.twitter.com/1.1/statuses/mentions_timeline.json?oauth_consumer_key=54udHGmBT4RIULX3Ixxxx&oauth_nonce=052667e93f14d029479a98c0182ae084&oauth_signature=BuS1Hb5TX9t8exbb1Gsxwv6y/N0=&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1365507138120&oauth_token=267722038-d4fJPl08k1W2bdNaPtoUXSHjgbfbTWIIZNHxxxx&oauth_version=1.0

It’s giving 401 error.Can any body help how to resolve this error or Steps to get user tweets?


#2

We recommend using HTTP header-based OAuth rather than parameter-based OAuth – using parameters is much more error prone and doesn’t sufficiently separate concerns.

Have you taken a look at the OAuth documentation on this site? [node:2927] has some tips on this part.