Problem reading tweets using get search


#1

hi
I am able to acheive oauth authenication for GET statuses/user_timeline …

But How can i Search tweets using GET search/tweets in new api 1.1. it always give me unauthorized 401

Base String that i generate:

count=4&oauth_consumer_key=""&oauth_nonce="<myoauth_nonce>"&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1371554380&oauth_token=<Myoauth_token>&oauth_version=1.0&q=%40lrc&result_type=mixed

HeadFormat that i generate:

OAuth oauth_consumer_key="", oauth_nonce="<myoauth_nonce>", oauth_signature="", oauth_signature_method=“HMAC-SHA1”, oauth_timestamp=“1371554380”, oauth_token="<Myoauth_tooken>", oauth_version=“1.0"”

url:
https://api.twitter.com/1.1/search/tweets.json?count=4&q=%40lrc&result_type=mixed (added the header while requesting)


#2

Can you do a quick check from https://dev.twitter.com/docs/api/1.1/get/search/tweets, there an OAuth tool in the right hand column, choose your specific app from the drop down, then click “generate signature”. Is this the same as when you generate it from your application context (in your code)?