Instaphp/Instagram/Locations.php
public function Search(Array $params = array())
    {
        if (isset($params['lat'])) {
            if (!isset($params['lng']) || empty($params['lng']))
                trigger_error('Longitude and Latitude are mutually inclusive in ' . __METHOD__, E_USER_ERROR);
        }
        if (isset($params['lng'])) {
            if (!isset($params['lat']) || empty($params['lat']))
                trigger_error('Longitude and Latitude are mutually inclusive in ' . __METHOD__, E_USER_ERROR);
        }

		if (!empty($params))
			$this->AddParams($params);

        return $this->Get($this->buildUrl('search'));
    }
public function Search(Array $params = array())
    {
        if (isset($params['lat'])) {
            if (!isset($params['lng']) || empty($params['lng']))
                trigger_error('Longitude and Latitude are mutually inclusive in ' . __METHOD__, E_USER_ERROR);
        }
        if (isset($params['lng'])) {
            if (!isset($params['lat']) || empty($params['lat']))
                trigger_error('Longitude and Latitude are mutually inclusive in ' . __METHOD__, E_USER_ERROR);
        }

		if (!empty($params))
			$this->AddParams($params);

        return $this->Get($this->buildUrl('search'));
    }
Search for media by latitude/longitude
@access public
@param string $token An access token
@param Array $params An associative array of key/value pairs to pass to the API
@return Response