Returns the list of languages supported by Twitter along with their ISO 639-1 code. The ISO 639-1 code is the two letter value to use if you include lang with any of your requests.
public helpLanguages ( ) : array | ||
return | array |
/** * Tests Twitter->helpLanguages() */ public function testHelpLanguages() { $response = $this->twitter->helpLanguages(); foreach ($response as $row) { $this->assertArrayHasKey('name', $row); $this->assertArrayHasKey('status', $row); $this->assertArrayHasKey('code', $row); } }