blocksCreate() 공개 메소드

Blocks the specified user from following the authenticating user. In addition the blocked user will not show in the authenticating users mentions or timeline (unless retweeted by another user). If a follow or friend relationship exists it is destroyed.
public blocksCreate ( string[optional] $userId = null, string[optional] $screenName = null, bool[optional] $includeEntities = null, bool[optional] $skipStatus = null ) : array
$userId string[optional]
$screenName string[optional]
$includeEntities bool[optional]
$skipStatus bool[optional]
리턴 array
예제 #1
0
 /**
  * Tests Twitter->blocksCreate
  */
 public function testBlocksDestroy()
 {
     $response = $this->twitter->blocksCreate(null, 'netlash');
     $response = $this->twitter->blocksDestroy(null, 'netlash');
     $this->isUser($response);
 }