You are here

public function Twitter::statuses_retweets in Twitter 7.5

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

Returns up to 100 of the first retweets of a given tweet.

Parameters

int $id: The numerical ID of the desired status.

array $params: an array of parameters.

See also

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

File

./twitter.lib.php, line 366
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 statuses_retweets($id, $params = array()) {
  return $this
    ->get_statuses('statuses/retweets/' . $id, $params);
}