
nijel - 2012-10-30 12:41:43
I have used this package to log in to twitter
and make requests successfully
e.g this will work
$success = $client->CallAPI(
'https://api.twitter.com/1.1/statuses/home_timeline.json',
'GET', array(), array('FailOnAccessError'=>true), $user);
but if I make a request that uses a user name or i.d I get an error
e.g
$success = $client->CallAPI(
"https://api.twitter.com/1.1/friends/ids.json",
'GET', array("screen_name" =>"twitterapi" ),array('FailOnAccessError'=>true), $user);
Error: it was not possible to access the API call: it was returned an unexpected response status 401 Response: {"errors":[{"message":"Could not authenticate you","code":32}]}