savedSearchesShow() 공개 메소드

Retrieve the information for the saved search represented by the given id. The authenticating user must be the owner of saved search ID being requested.
public savedSearchesShow ( string $id ) : array
$id string The ID of the saved search.
리턴 array
예제 #1
0
 /**
  * Tests Twitter->savedSearchesShow()
  */
 public function testSavedSearchesShow()
 {
     $response = $this->twitter->savedSearchesCreate(time());
     $response = $this->twitter->savedSearchesShow($response['id']);
     $this->twitter->savedSearchesDestroy($response['id']);
     $this->assertArrayHasKey('created_at', $response);
     $this->assertArrayHasKey('id', $response);
     $this->assertArrayHasKey('name', $response);
     $this->assertArrayHasKey('query', $response);
 }