Skip to content

Instantly share code, notes, and snippets.

@tcarlsen
Created February 18, 2010 11:58
Show Gist options
  • Save tcarlsen/307598 to your computer and use it in GitHub Desktop.
Save tcarlsen/307598 to your computer and use it in GitHub Desktop.
$statuses1 = $this->Twitter->statusesUserTimeline("TCarlsen",NULL,NULL,5);
$statuses2 = $this->Twitter->statusesUserTimeline("kfriis",NULL,NULL,5);
$statuses = array_merge_recursive($statuses1,$statuses2);
$result = Set::sort($statuses, 'Statuses.Status.{n}.id', 'desc');
$this->set('statuses',$result);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment