API Authenticate Issue


#1

Hi,

I am new to twitter API. I just want get the tweet and retweet of others. If i am giving mine using (https://api.twitter.com/1.1/statuses/user_timeline.json) , i am getting the posted tweet. If i pass the parameter as screen name then its showing error as ({“errors”:[{“message”:“Could not authenticate you”,“code”:32}]}). please help me and correct me if i am doing wrong.

Thanks,
Atheequr Rahman


#2

Are you using an OAuth library with your requests? Make sure that when it’s building its signature basestring that it’s sorting and integrating the parameters of your request in. screen_name would come after the oauth_* parameters.