protected function _makeApiRequest($params, $photos = array())
    {
        $token = array('access_token' => $this->_getAccessToken());

        $params = array_merge($params, $token);

        return $this->_makeRequest($this->_baseEndPoint, $params, $photos);
    }
protected function _makeApiRequest($params, $photos = array())
    {
        $token = array('access_token' => $this->_getAccessToken());

        $params = array_merge($params, $token);

        return $this->_makeRequest($this->_baseEndPoint, $params, $photos);
    }
protected function _makeApiRequest ( $ params , $ photos = array ( ) ) { $ token = array ( 'access_token' => $ this -> _getAccessToken ( ) ) ; $ params = array_merge ( $ params , $ token ) ; return $ this -> _makeRequest ( $ this -> _baseEndPoint , $ params , $ photos ) ; }
Wrapper method to make an api request

@param $code auth code
@return json response with access/refresh token
Wrapper method to make an api request