Returns a cursored collection of user objects for every user the specified user is following (otherwise known as their "friends").

@param array $parameters
@param bool $multipart
@param bool $appOnlyAuth
@return mixed
197481
public function getFriendsList(array $parameters = array(), $multipart = false, $appOnlyAuth = false)
    {
        return $this->get('friends/list', $parameters, $multipart, $appOnlyAuth);
    }
1260326
public function getObjects(array $parameters = array())
    {
        $objects = array();

        foreach ($this->getObjectsInfo($parameters) as $record) {
            $objects[] = new Object($this, null, false, $record);
        }

        return $objects;
    }
333553
function oAuthRequest($url, $method, $parameters, $multi = false) {

    if (strrpos($url, 'http://') !== 0 && strrpos($url, 'https://') !== 0) {
      $url = "{$this->host}{$url}.{$this->format}";
  }

  switch ($method) {
    case 'GET':
      $url = $url . '?' . http_build_query($parameters);
      return $this->http($url, 'GET');
    default:
      $headers = array();
      if (!$multi && (is_array($parameters) || is_object($parameters)) ) {
        $body = http_build_query($parameters);
      } else {
        $body = self::build_http_query_multi($parameters);
        $headers[] = "Content-Type: multipart/form-data; boundary=" . self::$boundary;
      }
      return $this->http($url, $method, $body, $headers);
  }
  }
719118
public function postFriendshipsDestroy(array $parameters = array(), $multipart = false, $appOnlyAuth = false)
    {
        return $this->post('friendships/destroy', $parameters, $multipart, $appOnlyAuth);
    }
877124
public static function listAllPaymentsAsync(array $parameters = [])
    {
        return self::listAllPaymentsAsyncWithHttpInfo($page, $size, $sort)
            ->then(
                function ($response) {
                    return $response[0];
                }
            );
    }
158600
public static function listAllDiscountCouponsAsync(array $parameters = [])
    {
        return self::listAllDiscountCouponsAsyncWithHttpInfo($page, $size, $sort)
            ->then(
                function ($response) {
                    return $response[0];
                }
            );
    }
195665
public static function listAllCouponsAsync(array $parameters = [])
    {
        return self::listAllCouponsAsyncWithHttpInfo($page, $size, $sort)
            ->then(
                function ($response) {
                    return $response[0];
                }
            );
    }
792095
public static function listAllCustomersAsync(array $parameters = [])
    {
        return self::listAllCustomersAsyncWithHttpInfo($page, $size, $sort)
            ->then(
                function ($response) {
                    return $response[0];
                }
            );
    }
659507
public function postStatusesUpdate(array $parameters = array(), $multipart = false, $appOnlyAuth = false)
    {
        return $this->post("statuses/update", $parameters, $multipart, $appOnlyAuth);
    }
678834
public static function listAllStatesAsync(array $parameters = [])
    {
        return self::listAllStatesAsyncWithHttpInfo($page, $size, $sort)
            ->then(
                function ($response) {
                    return $response[0];
                }
            );
    }
245087
public static function listAllPromotionsAsync(array $parameters = [])
    {
        return self::listAllPromotionsAsyncWithHttpInfo($page, $size, $sort)
            ->then(
                function ($response) {
                    return $response[0];
                }
            );
    }
533877
public function getAccountVerifyCredentials(array $parameters = array(), $multipart = false, $appOnlyAuth = false)
    {
        return $this->api('GET', 'account/verify_credentials', $parameters, $multipart, $appOnlyAuth);
    }
307428
public static function listAllGatewaysAsync(array $parameters = [])
    {
        return self::listAllGatewaysAsyncWithHttpInfo($page, $size, $sort)
            ->then(
                function ($response) {
                    return $response[0];
                }
            );
    }
602178
public function getCredentials(array $parameters = array(), $multipart = false, $appOnlyAuth = false)
    {
        return $this->getAccountVerifyCredentials($parameters, $multipart, $appOnlyAuth);
    }
1223872
public function patch($path, array $parameters = array(), $multipart = false, $appOnlyAuth = false, $internal = false)
    {
        return $this->api('PATCH', $path, $parameters, $multipart, $appOnlyAuth, $internal);
    }
740259
protected function getObjectsRawData(array $parameters = array())
    {
        $cacheKey = md5(json_encode(array($this->getName(), $parameters)));

        if (!array_key_exists($cacheKey, self::$listObjectsCache)) {
            $tmp = array();

            foreach ($parameters as $k => $v) {
                if (in_array($k, self::$allowedParameters)) {
                    $tmp[$k] = $v;
                }
            }

            $response = $this->connection->makeRequest(Client::GET, array($this->name), array(), $tmp);
            self::$listObjectsCache[$cacheKey] = $response['body'];
        }

        return self::$listObjectsCache[$cacheKey];
    }
836436
public static function listAllBraintreeGatewaysAsync(array $parameters = [])
    {
        return self::listAllBraintreeGatewaysAsyncWithHttpInfo($page, $size, $sort)
            ->then(
                function ($response) {
                    return $response[0];
                }
            );
    }