usersProfileBanner() публичный Метод

Returns a map of the available size variations of the specified user's profile banner. If the user has not uploaded a profile banner, a HTTP 404 will be served instead.
public usersProfileBanner ( string[optional] $userId = null, string[optional] $screenName = null ) : array
$userId string[optional]
$screenName string[optional]
Результат array
Пример #1
0
 /**
  * Tests Twitter->usersProfileBanner
  */
 public function testUsersProfileBanner()
 {
     $response = $this->twitter->usersProfileBanner(null, 'tijs_dev');
     $this->assertArrayHasKey('sizes', $response);
     foreach ($response['sizes'] as $row) {
         $this->assertArrayHasKey('w', $row);
         $this->assertArrayHasKey('h', $row);
         $this->assertArrayHasKey('url', $row);
     }
 }