So lets take a look at the YouTube API information which can be found over at the Developer Area. You'll see there are actually two options, the newer Google Data API or the older legacy API. Although YouTube now class this is depreciated (they would having been given the new one after the google takeover) for something as simple as grabbing favourites the older (simpler) API proves more than adequate.
Coding Library: PHP