search('#carsonified');
$data = $data->results;
?>
created_at), strtotime('now'));
$units = 0;
$created_at = array();
foreach($diff as $unit => $value)
{
if($value != 0 && $units < 2)
{
if($value === 1)
{
#let's remove the plural "s"
$unit = substr($unit, 0, -1);
}
$created_at[]= $value . ' ' .$unit;
++$units;
}
}
$created_at = implode(', ',$created_at);
$created_at .= ' ago';
$tweet = preg_replace('/(^|\s)@(\w+)/','\1@\2', $d->text);
?>
-
by from_user; ?> from source); ?>