I have the same problem too and have never successfully received any results whatsoever from the search endpoint.
All the other API endpoints that I use work flawlessly using the same oauth lib.
Here’s a uri that fails:
https://api.twitter.com/1.1/search/tweets.json?q=pic.twitter.com&count=50
and the authorization string:
OAuth oauth_signature=“hJe6M%2FQLGwXMFNcra1xJGyaP1uI%3D”,oauth_version=“1.0”,oauth_nonce=“9orIibewog03RRw9”,oauth_signature_method=“HMAC-SHA1”,oauth_consumer_key=“X8VGUu6JRdCDUSCmO6Bg”,oauth_token=“16831433-Qr5D1qTqVOSBboX5tXubtnh72RTOKZf8wC0oARMaV”,oauth_timestamp=“1361823984”
I’m pretty sure the basestring is not the issue because I have more complex requests working properly with many more params including POST params so I assume that this is not the problem.
Taking out the realm parameter did not help and neither switching the oauth versions from 1.0 to 1.0a. I’m lost on this one and looking to release my fully 1.1 compliant app in a matter of days.
Please help :S