setUserAgent() public méthode

It will look like: "PHP Twitter/ "
public setUserAgent ( string $userAgent )
$userAgent string Your user-agent, it should look like /.
Exemple #1
0
 /**
  * Tests Twitter->getUserAgent()
  */
 public function testGetUserAgent()
 {
     $this->twitter->setUserAgent('testing/1.0.0');
     $this->assertEquals('PHP Twitter/' . Twitter::VERSION . ' testing/1.0.0', $this->twitter->getUserAgent());
 }