Hi I am not sure of whether anyone has had this problem, but iI’m using updated php libraries for the new API and can’t fetch data on GET (everything seems to be fine with POST).
Here’s some code:
require ‘tokens.php’;
require ‘oauth.php’;
$connection = new oauth(array(
‘consumer_key’ => $consumer_key,
‘consumer_secret’ => $consumer_secret,
‘user_token’ => $user_token,
‘user_secret’ => $user_secret
));
// Get the tweet from id (found in the API Guide)
$connection->request(‘GET’, $connection->url(‘1.1/statuses/show/’), array(
‘id’ => “” //id number here. I cut and pasted from a friends’s post so I am sure it exists
));
etc etc.
the response is always
"Error: 404 Array ( [errors] => Array ( [0] => Array ( [message] => Sorry, that page does not exist [code] => 34 ) ) )"
Any suggestion to resolve this would be very helpful. Thank you!