public function getSuggestions($lang = null)
	{
		// Check the rate limit for remaining hits
		$this->checkRateLimit('users', 'suggestions');

		// Set the API path
		$path = '/users/suggestions.json';

		$data = array();

		// Check if entities is true
		if ($lang)
		{
			$data['lang'] = $lang;
		}

		// Send the request.
		return $this->sendRequest($path, 'GET', $data);
	}
public function getSuggestions($lang = null)
	{
		// Check the rate limit for remaining hits
		$this->checkRateLimit('users', 'suggestions');

		// Set the API path
		$path = '/users/suggestions.json';

		$data = array();

		// Check if entities is true
		if ($lang)
		{
			$data['lang'] = $lang;
		}

		// Send the request.
		return $this->sendRequest($path, 'GET', $data);
	}
public function getSuggestions ( $ lang = null ) { // Check the rate limit for remaining hits $ this -> checkRateLimit ( 'users' , 'suggestions' ) ; // Set the API path $ path = '/users/suggestions.json' ; $ data = array ( ) ; // Check if entities is true if ( $ lang ) { $ data [ 'lang' ] = $ lang ; } // Send the request. return $ this -> sendRequest ( $ path , 'GET' , $ data ) ; }
Method access to Twitter's suggested user list.

@param   boolean  $lang  Restricts the suggested categories to the requested language.

@return  array  The decoded JSON response

@since   1.0
Method access to Twitter s suggested user list .