Youtube api ile ilgili sorunu olan var mı
12
●964
- 10-04-2008, 22:41:33Eposta Aktivasyonu Gerekmektebir dene bence, eğer hala sıkıntı çekiyorsan yada hata alıyorsan onu bildir ki çözüm varsa yardımcı olunsun
- 10-04-2008, 22:44:34php ile yazılmış script
//Check for an error and die if it finds one. if (!empty($this->parsed_response['ut_response']['error']) && $this->die_on_error) { die("Sorry this video has been deleted"); } elseif (!empty($this->parsed_response['ut_response']['error'])) { $this->error_code = $this->parsed_response['ut_response']['error']['code']; $this->error_msg = "The Youtube API returned error code #" . $this->parsed_response['ut_response']['error']['code'] . ": " . $this->parsed_response['ut_response']['error']['description']; return false; } else { $this->error_code = false; $this->error_msg = false; } return $this->parsed_response['ut_response']; } function setService($service) { // Sets which service to connect to. Currently supported service is // "youtube" if (strtolower($service) == "youtube") { $this->service = "youtube"; $this->REST = 'http://www.youtube.com/api2_rest'; } else { die ("You have entered a service that does not exist or is not supported at this time."); } } function setProxy($server, $port) { // Sets the proxy for all phpYoutube calls. $this->req->setProxy($server, $port); } function useSAXY($useIt = true) { $this->xml_parser->useSAXY($useIt); } function getErrorCode() { // Returns the error code of the last call. If the last call did not // return an error. This will return a false boolean. return $this->error_code; } function getErrorMsg() { // Returns the error message of the last call. If the last call did not // return an error. This will return a false boolean. return $this->error_msg; }Sorry this video has been deleted hatasını veriyor - 10-04-2008, 22:47:36Eposta Aktivasyonu Gerekmektehangi video da onu yapıyor
yoksa genel olarak mı o hatayı veriyor.
php ci değilim ama kodlara bakarak orada uzaktaki bilgiyi parse edip veritabanına aktarmaya yarayan kodlar var, yani botun kodları sanırım. ve bağlantıdan yada baaşka bir sebepten dolayı ya video linkleri artık yok yada youtube a bağlantı sorunu yaşıyorsun, belkide yotube yeniden kaaptıldı bilemiyorum
q
- 10-04-2008, 22:50:27Eposta Aktivasyonu Gerekmektesunucu seninmi? birde bulunduğun makinede youtube açılıyormu?
yani scripti denediğin makinede?
eğer açılıyorsa kodlarla ilgili sorun var demektir
q