Mine is using JSON, but the twitter is suddenly not working on my website. Do I need to change anything at below?
<?php
if(isset($_GET["screen_name"])) {
if(isset($_GET["count"])) {
echo file_get_contents("http://api.twitter.com/1/statuses/user_timeline.json?screen_name={$_GET["screen_name"]}&count={$_GET["count"]}");
}
else {
echo file_get_contents("http://api.twitter.com/1/statuses/user_timeline.json?screen_name={$_GET["screen_name"]}");
}
}
?>