How Do I Authenticate a Twitter Request?

oauth

#1

Hi guys,

I’m a bit stumped here and need some help.

I went through the whole OAuth process and authorized my account to use my app. I got the following keys:
oauth_token=[my_token]&
oauth_token_secret=[my_token_secret]&
user_id=[my_id]&
screen_name=ryanbarsatan&
x_auth_expires=0

So now I’m trying to make a request with this URL but I’m getting the error
{“errors”:[{“code”:215,“message”:“Bad Authentication data.”}]}

URL:
https://api.twitter.com/1.1/search/tweets.json?q=whatsthescoops&src=typd&
oauth_consumer_key="[key]",
oauth_nonce="[nonce]",
oauth_signature="[signature]",
oauth_signature_method=“HMAC-SHA1”,
oauth_timestamp=“1318622958”,
oauth_token=“my_token”,
oauth_version=“1.0”

any ideas on whats happening? Thanks for all the help


#2

What language are you using? What Twitter library are you using?

Is your computer clock accurate?