使用 youtube api 时出现错误。
这是我得到的错误,
exception 'Zend_Gdata_App_HttpException' with message 'Expected response code 200, got 403 ' in /usr/share/nginx/www/application/libraries/Zend/Gdata/App.php:700 Stack trace: #0 /usr/share/nginx/www/application/libraries/Zend/Gdata.php(221): Zend_Gdata_App->performHttpRequest('GET', 'http://gdata.yo...', Array, NULL, NULL, NULL)
#1 /usr/share/nginx/www/application/libraries/Zend/Gdata/App.php(861): Zend_Gdata->performHttpRequest('GET', 'http://gdata.yo...', Array)
#2 /usr/share/nginx/www/application/libraries/Zend/Gdata/App.php(754): Zend_Gdata_App->get('http://gdata.yo...', NULL)
#3 /usr/share/nginx/www/application/libraries/Zend/Gdata/App.php(220): Zend_Gdata_App->importUrl('http://gdata.yo...', 'Zend_Gdata_YouT...', NULL)
#4 /usr/share/nginx/www/application/libraries/Zend/Gdata.php(187): Zend_Gdata_App->getEntry('http://gdata.yo...', 'Zend_Gdata_YouT...')
#5 /usr/share/nginx/www/application/libraries/Zend/Gdata/YouTube.php(293): Zend_Gdata->getEntry('http://gdata.yo...', 'Zend_Gdata_YouT...')
#6 /usr/share/nginx/www/application/modules/Videofeed/controllers/ProfileController.php(37): Zend_Gdata_YouTube->getVideoEntry('14NiccpyGt8')
#7 /usr/share/nginx/www/application/libraries/Zend/Controller/Action.php(513): Videofeed_ProfileController->indexAction()
#8 /usr/share/nginx/www/application/libraries/Zend/Controller/Dispatcher/Standard.php(289): Zend_Controller_Action->dispatch('indexAction')
#9 /usr/share/nginx/www/application/libraries/Zend/Controller/Front.php(946): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#10 /usr/share/nginx/www/application/modules/Core/Bootstrap.php(75): Zend_Controller_Front->dispatch()
#11 /usr/share/nginx/www/application/libraries/Engine/Application.php(160): Core_Bootstrap->run()
#12 /usr/share/nginx/www/application/index.php(194): Engine_Application->run()
#13 /usr/share/nginx/www/index.php(24): include('/usr/share/ngin...')
#14 {main}
提前致谢。