Use the YouTube API with PHP

Process and integrate data from YouTube into your PHP application with PHP's SimpleXML extension

From the developerWorks archives

Vikram Vaswani

Date archived: April 18, 2019 | Last updated: April 18, 2008|First published: April 15, 2008

The YouTube video sharing site allows Web application developers to access public content through its REST-based developer API. The SimpleXML extension in PHP is ideal for processing the XML feeds generated by this API and using them to build customized PHP applications. This article introduces the YouTube Data API, demonstrates how you can use it to browse user-generated video content; access video metadata, comments and responses; and perform keyword searches.

This content is no longer being updated or maintained. The full article is provided "as is" in a PDF file. Given the rapid evolution of technology, some content, steps, or illustrations may have changed.

Zone=XML, Open source
ArticleTitle=Use the YouTube API with PHP