Search V1.1 API not working


Using Oauth Library

When upgrading to API v1.1, calls to URLs like works fine.

But when URL is changed to or does not work. Error Code 32: Could not authenticate you

Any ideas? Help is appreciated.


Going to close this issue. The problem was that the v1.1 oAuth is much stricter and you have separate the URL and the request string.

So this won’t work
$creds = $twtObj->get(’/search/tweets.json?q=sony’);

But this will
$creds = $twtObj->get(’/search/tweets.json’, array(‘q’ => ‘sony’));