public function getFriendshipsOutgoing($cursor = null, $string_ids = null)
	{
		// Check the rate limit for remaining hits
		$this->checkRateLimit('friendships', 'outgoing');

		$data = array();

		// Check if cursor is specified
		if (!is_null($cursor))
		{
			$data['cursor'] = $cursor;
		}

		// Check if string_ids is specified
		if (!is_null($string_ids))
		{
			$data['stringify_ids'] = $string_ids;
		}

		// Set the API path
		$path = '/friendships/outgoing.json';

		// Send the request.
		return $this->sendRequest($path, 'GET', $data);
	}
public function getFriendshipsOutgoing($cursor = null, $string_ids = null)
	{
		// Check the rate limit for remaining hits
		$this->checkRateLimit('friendships', 'outgoing');

		$data = array();

		// Check if cursor is specified
		if (!is_null($cursor))
		{
			$data['cursor'] = $cursor;
		}

		// Check if string_ids is specified
		if (!is_null($string_ids))
		{
			$data['stringify_ids'] = $string_ids;
		}

		// Set the API path
		$path = '/friendships/outgoing.json';

		// Send the request.
		return $this->sendRequest($path, 'GET', $data);
	}
public function getFriendshipsOutgoing ( $ cursor = null , $ string_ids = null ) { // Check the rate limit for remaining hits $ this -> checkRateLimit ( 'friendships' , 'outgoing' ) ; $ data = array ( ) ; // Check if cursor is specified if ( ! is_null ( $ cursor ) ) { $ data [ 'cursor' ] = $ cursor ; } // Check if string_ids is specified if ( ! is_null ( $ string_ids ) ) { $ data [ 'stringify_ids' ] = $ string_ids ; } // Set the API path $ path = '/friendships/outgoing.json' ; // Send the request. return $ this -> sendRequest ( $ path , 'GET' , $ data ) ; }
Method to determine every protected user for whom the authenticating user has a pending follow request.

@param   integer  $cursor      Causes the list of IDs to be broken into pages of no more than 5000 IDs at a time. The number of IDs returned
is not guaranteed to be 5000 as suspended users are filtered out after connections are queried. If no cursor
is provided, a value of -1 will be assumed, which is the first "page."
@param   boolean  $string_ids  Set to true to return IDs as strings, false to return as integers.

@return  array  The decoded JSON response

@since   1.0
Method to determine every protected user for whom the authenticating user has a pending follow request .