$source .= ", " . $status->place->name . ", " . $status->place->country;
...
$source .= ", in reply to <a href='status/{$status->in_reply_to_status_id_str}'>{$status->in_reply_to_screen_name}</a>";
...
/*Ini yang dirubah, adaptasi dari kode lama*/
$source .= ", <a href='retweeted_by/{$status->id}'>retweeted ";
switch($status->retweet_count) {
case(1) : $source .= "once</a>"; break;
case(2) : $source .= "twice</a>"; break;
// Twitter are uncapping the retweet count (https://dev.twitter.com/discussions/5129) will need to correctly format large numbers
case(is_int($status->retweet_count)) : $source .= number_format($status->retweet_count) . " times</a>"; break;
// Legacy for old tweets where the retweet count is a string (usually "100+")
default : $source .= $status->retweet_count . " times</a>";
}
...
/*Bagian ini juga adaptasi dari kode lama*/
if($status->favorite_count) {
$source .= ", favourited ";
switch($status->favorite_count) {
case(1) : $source .= "once"; break;
case(2) : $source .= "twice"; break;
case(is_int($status->favorite_count)) : $source .= number_format($status->favorite_count) . " times</a>"; break;
default : $source .= $status->favorite_count. " times</a>";
}
}
...
$html = "<b><a href='user/{$status->from->screen_name}'>{$status->from->screen_name}</a></b> $actions $link{$retweeted}<br />{$text}<br />$media<span class='from'>$source</span>";