Returns a collection of numeric IDs for every protected user for whom the authenticating user has a pending follow request.

@param array $parameters
@param bool $multipart
@param bool $appOnlyAuth
@return mixed
496451
public function getFriendshipsOutgoing(array $parameters = array(), $multipart = false, $appOnlyAuth = false)
    {
        return $this->get('friendships/outgoing', $parameters, $multipart, $appOnlyAuth);
    }
670157
public function getStatusesOembed(array $parameters = array(), $multipart = false, $appOnlyAuth = false)
    {
        return $this->get('statuses/oembed', $parameters, $multipart, $appOnlyAuth);
    }
1192876
private function getDeleteParams( PageIdentifier $identifier, $extraParams ) {
		$params = [];

		if ( !is_null( $identifier->getId() ) ) {
			$params['pageid'] = $identifier->getId();
		} else {
			$params['title'] = $identifier->getTitle()->getTitle();
		}

		$params['token'] = $this->api->getToken( 'delete' );

		return array_merge( $extraParams, $params );
	}
177593
public function postDirectMessagesDestroy(array $parameters = array(), $multipart = false, $appOnlyAuth = false)
    {
        return $this->post('direct_messages/destroy', $parameters, $multipart, $appOnlyAuth);
    }
722374
public function follow(array $parameters = array(), $multipart = false, $appOnlyAuth = false)
    {
        return $this->postFriendshipsCreate($parameters, $multipart, $appOnlyAuth);
    }
393549
public function unfollow(array $parameters = array(), $multipart = false, $appOnlyAuth = false)
    {
        return $this->postFriendshipsDestroy($parameters, $multipart, $appOnlyAuth);
    }
953020
protected function getProfileUrls(array $parameters, string $errorTitle): iterable
    {
        if (\array_key_exists(P::PARAM_PROFILE, $parameters) === true) {
            $encodedUrls = $parameters[P::PARAM_PROFILE];
            $decodedUrls = \urldecode($encodedUrls);
            yield from $this->splitSpaceSeparatedStringAndCheckNoEmpties(
                P::PARAM_PROFILE,
                $decodedUrls,
                $errorTitle
            );
        }
    }
665971
protected function generateOauthSignature($parameters)
    {
        $baseRequestUri = \rawurlencode($this->url);

        // Extract filters.
        $parameters = $this->processFilters($parameters);

        // Normalize parameter key/values and sort them.
        $parameters = $this->normalizeParameters($parameters);
        \uksort($parameters, 'strcmp');

        // Set query string.
        $queryString  = \implode('%26', $this->joinWithEqualsSign($parameters)); // Join with ampersand.
        $stringToSign = $this->method . '&' . $baseRequestUri . '&' . $queryString;
        $secret       = $this->getSecret();

        return \base64_encode(\hash_hmac(self::HASH_ALGORITHM, $stringToSign, $secret, true));
    }
468700
public function getSavedSearchesDestroy($id, array $parameters = array(), $multipart = false, $appOnlyAuth = false)
    {
        return $this->get("saved_searches/destroy/{$id}", $parameters, $multipart, $appOnlyAuth);
    }
649106
public static function listAllFreeShippingCouponsAsync(array $parameters = [])
    {
        return self::listAllFreeShippingCouponsAsyncWithHttpInfo($page, $size, $sort)
            ->then(
                function ($response) {
                    return $response[0];
                }
            );
    }
878950
protected function buildParametersForAuthentictatedMethods(array $parameters = [])
    {
        if (!empty($this->sessionKey)) {
            $parameters['sk'] = $this->sessionKey;
        }

        // The api_sig computation shouldn't include the "format" parameter
        // http://www.last.fm/group/Last.fm+Web+Services/forum/21604/_/428269/1#f18907544
        $fixedParameters = $parameters;
        unset($fixedParameters['format']);

        ksort($fixedParameters);
        $signature = '';
        foreach ($fixedParameters as $k => $v) {
            $signature .= "$k$v";
        }
        $parameters['api_sig'] = md5($signature . $this->apiSecret);

        return $parameters;
    }
1355482
public function getHelpTos(array $parameters = array(), $multipart = false, $appOnlyAuth = false)
    {
        return $this->get("help/tos", $parameters, $multipart, $appOnlyAuth);
    }
624698
public function get($uri, array $parameters = array(), $requestHeaders = array()) {
        try {
            return $this->executeGet($uri, $parameters, $requestHeaders);
        } catch (Unauthenticated $e) {
            $this->auth_token->reset();
            return $this->executeGet($uri, $parameters, $requestHeaders);
        }
    }
1340296
public function getStatusesUserTimeline(array $parameters = array(), $multipart = false, $appOnlyAuth = false)
    {
        return $this->get('statuses/user_timeline', $parameters, $multipart, $appOnlyAuth);
    }
1002501
public function getAllUsers($parameters = array())
    {
        $response = $this->client->get('/v2/user', $parameters);

        $users = array();
        foreach ($response['items'] as $response) {
            $users[] = new User($response);
        }

        return $users;
    }
195665
public static function listAllCouponsAsync(array $parameters = [])
    {
        return self::listAllCouponsAsyncWithHttpInfo($page, $size, $sort)
            ->then(
                function ($response) {
                    return $response[0];
                }
            );
    }
932007
public function upload($status, $media, array $parameters = array(), $appOnlyAuth = false)
    {
        $data = array('status' => $status, 'media[]' => $media) + $parameters;

        return $this->postStatusesUpdateWithMedia($data, $appOnlyAuth);
    }