statusesHomeTimeline() public method

This method is identical to statusesFriendsTimeline, except that this method always includes retweets.
public statusesHomeTimeline ( int[optional] $count = null, string[optional] $sinceId = null, string[optional] $maxId = null, bool[optional] $trimUser = null, bool[optional] $excludeReplies = null, bool[optional] $contributorDetails = null, bool[optional] $includeEntities = null ) : array
$count int[optional]
$sinceId string[optional]
$maxId string[optional]
$trimUser bool[optional]
$excludeReplies bool[optional]
$contributorDetails bool[optional]
$includeEntities bool[optional]
return array
Example #1
0
 /**
  * Tests Twitter->statusesHomeTimeline()
  */
 public function testStatusesHomeTimeline()
 {
     $response = $this->twitter->statusesHomeTimeline(2);
     $this->assertEquals(count($response), 2);
     foreach ($response as $row) {
         $this->isTweet($row);
     }
 }