php, youtube api 使用教學 – hello world

php, youtube api 使用教學 – hello world

參考資料:

httpss://code.google.com/apis/youtube/2.0/developers_guide_php.html#About_this_document

安裝

確定你的 PHP  PHP >= 5.1.4.

並且需要  Zend_Gdata >= 1.7.7,  下載請到  Zend Framework.

設定環境 請看  Getting Started Guide

簡單測試

1. 把ZendGdata-1.11.2\library\Zend\*.*     copy  到  網站根目錄 Zend\*.*

2. 把ZendGdata-1.11.2\demo\Zend\Gdata\YouTubeVideoApp\*.*     copy  到  網站根目錄\*.*

3. 在browser 跑index.php