2011-02-06 57 views

回答

1

請參閱Developers Guide | Videos uploaded by a specific user

例如,以下代碼檢索$ userName上傳的視頻列表。你必須page through the results

function getAndPrintUserUploads($userName)      
{  
    $yt = new Zend_Gdata_YouTube(); 
    $yt->setMajorProtocolVersion(2); 
    printVideoFeed($yt->getuserUploads($userName)); 
} 
+0

默認情況下,這將只返回20個結果。要返回不同數量的結果,請使用[this](http://stackoverflow.com/a/2453808)。 – machineaddict 2014-01-16 23:48:26

相關問題