friendshipsLookup() public method

Values for connections can be: following, following_requested, followed_by, none.
public friendshipsLookup ( mixed[optional] $userIds = null, mixed[optional] $screenNames = null ) : array
$userIds mixed[optional]
$screenNames mixed[optional]
return array
Example #1
0
 /**
  * Tests Twitter->friendshipsLookup
  */
 public function testFriendshipsLookup()
 {
     $response = $this->twitter->friendshipsLookup(null, array('tijsverkoyen', 'sumocoders'));
     foreach ($response as $row) {
         $this->assertArrayHasKey('name', $row);
         $this->assertArrayHasKey('id', $row);
         $this->assertArrayHasKey('connections', $row);
     }
 }