public function __construct() { parent::__construct(); $service = Zend_Gdata_Photos::AUTH_SERVICE_NAME; try { $this->_client = Zend_Gdata_ClientLogin::getHttpClient($this->getUsername(), $this->getPassword(), $service); } catch (Zend_Exception $e) { $e->getMessage(); } $this->_photos = new Zend_Gdata_Photos($this->_client, $this->getApplicationId()); $this->_photos->enableRequestDebugLogging(APPLICATION_PATH . 'data/zend_gdata_photos.log'); }