Returns up to 100 of the first retweets of a given tweet.
public statusesRetweets ( string $id, int[optional] $count = null, bool[optional] $trimUser = null ) : array | ||
$id | string | The numerical ID of the desired status. |
$count | int[optional] | |
$trimUser | bool[optional] | |
Résultat | array |
/** * Tests Twitter->statusesRetweets() */ public function testStatusesRetweets() { $response = $this->twitter->statusesRetweets('21947795900469248', 2); $this->assertEquals(count($response), 2); foreach ($response as $row) { $this->isTweet($row); } }