API wont return any result anymore


Suddenly my twitter api app stopped returning results at all, and i have no reason why its happening !!
i’ve tried to use diff API tokens, but no luck.

i even tried to use a very simple php api script but also no luck.

Any help please ?

here is the code

/** Set access tokens here - see: https://dev.twitter.com/apps/ **/
$settings = array(
'oauth_access_token' => "xxxxx",
'oauth_access_token_secret' => "xxxx",
'consumer_key' => "xxxx",
'consumer_secret' => "xxx"
$url = "https://api.twitter.com/1.1/statuses/user_timeline.json";
$requestMethod = "GET";
$getfield = '?screen_name=manutd';
$twitter = new TwitterAPIExchange($settings);
$string = json_decode($twitter->setGetfield($getfield)
 ->buildOauth($url, $requestMethod)
 ->performRequest(),$assoc = TRUE);

if($string["errors"][0]["message"] != "") {echo "<h3>Sorry, there was a problem.    </h3><p>Twitter returned the following error message:</p><p><em>".$string[errors][0]["message"]."</em></p>";exit();}
echo "<pre>";
echo "</pre>";

Thanks in advance


Please tell me you have an answer?
I have the same problem! Maybe it’s TwitterAPIExchange?

I still don’t know…


Hi there!

Not sure, but you can always try our developer console here:


You can auth via your same account and make API calls using the API, to see if it’s the toolkit you’re using or our API directly.

Does that help?