public function Twitter::statuses_retweets in Twitter 7.6
Same name and namespace in other branches
- 6.5 twitter.lib.php \Twitter::statuses_retweets()
- 7.5 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 391 - Integration layer to communicate with the Twitter REST API 1.1. https://dev.twitter.com/docs/api/1.1
Class
- Primary Twitter API implementation class
Code
public function statuses_retweets($id, $params = array()) {
return $this
->get_statuses('statuses/retweets/' . $id, $params);
}