You are here

public function Twitter::home_timeline in Twitter 7.6

Same name and namespace in other branches
  1. 6.5 twitter.lib.php \Twitter::home_timeline()
  2. 7.5 twitter.lib.php \Twitter::home_timeline()

Returns a collection of the most recent Tweets and retweets posted by the authenticating user and the users they follow.

Parameters

array $params: an array of parameters.

See also

https://dev.twitter.com/docs/api/1.1/get/statuses/home_timeline

File

./twitter.lib.php, line 361
Integration layer to communicate with the Twitter REST API 1.1. https://dev.twitter.com/docs/api/1.1

Class

Twitter
Primary Twitter API implementation class

Code

public function home_timeline($params = array()) {
  return $this
    ->get_statuses('statuses/home_timeline', $params);
}