I am using a php-script which has been working for years, but suddenly it's
Fatal error: 'Unknown error' message with 'Zend_Gdata_App_HttpException' expected response code 200, found 401 'noelink youtube aacuef error 401 this starts like this
& lt ;? Php function anmelden_yt ($ name, $ passwort) {$ yt_source = 'known'; $ Yt_api_key = 'key'; $ Yt = null; $ Authentication URL = 'https://www.google.com/accounts/ClientLogin'; $ HttpClient = Zend_Gdata_ClientLogin :: getHttpClient ($ username = $ name, $ password = $ passwort, $ service = 'youtube', $ client = null, $ source = $ yt_source, // Identifying your app $ loginToken = null A short string, $ LoginCaptcha = null, $ authenticationURL); Abschnitt ("Login"); Return new Zend_Gdata_YouTube ($ httpClient, $ yt_source, NULL, $ yt_api_key); } Need_once ("Zend / Gdata / ClientLogin.php"); Need_once ("Zend / GData / HttpClient.php"); Need_once ("Zend / GData / YouTube.php"); Need_once ("Zend / GData / Apps / MediaFileSource.php"); Need_once ("Zend / GData / app / HttpException.php"); Require_once ('Zend / Uri / http.php'); Need_once 'Zend / Loader.php'; Zend_Loader :: loadClass ('Zend_Gdata_YouTube'); Zend_Loader :: loadClass ('Zend_Gdata_AuthSub'); Zend_Loader :: loadClass ('Zend_Gdata_ClientLogin'); $ Yt = anmelden_yt ($ name, $ pass); $ VideoFeed = $ yt- & gt; GetUserUploads ('Google'); Sleep (0.5); @ob_flush (); @flush (); ? & Gt; What could be the reason for this? .................................................. ..............................................
Something happened on the link between the Google account and the built-in YouTube channel. Perhaps the channel was recently migrated so that it is linked to a Google+ page rather than a Google Account?
Here are some relevant blog posts that show more details:
< / Ul>
No comments:
Post a Comment