statusesRetweet() public method

Retweets a tweet. Returns the original tweet with retweet details embedded.
public statusesRetweet ( string $id, bool[optional] $trimUser = null ) : array
$id string The numerical ID of the desired status.
$trimUser bool[optional]
return array
Ejemplo n.º 1
0
 /**
  * Tests Twitter->statusesRetweet()
  */
 public function testStatusesRetweet()
 {
     $response = $this->twitter->statusesRetweet('241259202004267009');
     $this->isTweet($response);
     $this->twitter->statusesDestroy($response['id']);
 }