Youtube PHP API - How do I add a specific video to a specific playlist using the PlaylistID?

Look through the code for the project located here: myphpetc.com/2009/12/building-youtube-pl....

Up vote 1 down vote favorite share g+ share fb share tw.

I'm trying to set up a quick PHP demo using the Youtube API that adds a video (using its ID) to a pre-created playlist (using its ID as well). The documentation for the PHP API doesn't specify how to do this. I'm referring to this documentation: code.google.com/apis/youtube/2.0/develop... Does anyone know how to accomplish this using the PHP API?

It seems like it should be ridiculously simple, but I'm not seeing it. Php api google youtube youtube-api link|improve this question asked Jun 4 '10 at 20:44nathanb374.

Thank you for the quick answer. I found that it is not possible to insert to a playlist that doesn't belong to the authenticated user, but the linked project has a function that will insert a video into a playlist. You can use client authentication to accomplish this and thus collect videos to your own playlist programatically.

– nathanb Jun 9 '10 at 21:51 Did you actually get this to work? Adding a video to a playlist (that I have account details for) programatically? I seem to get errors all the time.. (See stackoverflow.com/questions/2848016/…) If you did, could I be really cheeky and ask for a snippet of code?

Many thanks – JohnnyJP Jul 27 '10 at 11:16.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions