我有一个从这个链接获取的脚本
http://tareq.wedevs.com/2009/05/playing-with-twitter-json-using-php/
脚本在下面
<?php
$json = file_get_contents("http://twitter.com/status/user_timeline/SaswatRoutroy.json?count=10", true);
$decode = json_decode($json, true);
echo "<pre>";
$count = count($decode); //counting the number of status
for($i=0;$i<$count;$i++)
{
echo $decode[$i]."<br>";
}
echo "</pre>";
?>
它给我带来了错误
A PHP Error was encountered
Severity: Warning
Message: file_get_contents(http://twitter.com/status/user_timeline/SaswatRoutroy.json?count=10) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found
Filename: views/recipy_detail.php
Line Number: 116
谁能帮我解决这个问题