You are here

public function Twitter::site in Twitter 6.5

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

Streams messages for a set of users.

Parameters

string $follow: A comma separated list of user IDs

array $params: an array of parameters.

Return value

array of Twitter statuses.

See also

https://dev.twitter.com/docs/api/1.1/get/site

File

./twitter.lib.php, line 546
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 site($follow, $params = array()) {
  $params['follow'] = $follow;
  return $this
    ->get_statuses('site', $params);
}