http://code.google.com/apis/youtube/2.0/developers_guide_protocol.html
google has some great documentation at the above link. In cake though you are going to want to put the api file into the vendors folder in your app directory and then use App:import() to import the class. One thing I learned using the picasa api with cake is that by putting th api in the vendors folder all of the includes and requires in the api code are all off for example: the original require in the api may look something like this: require_once 'Zend/some folder/some file.php'; well the Zend folder is not in the webroot directory therefore you need to go through the whole api and change all of the includes and requires to something like this: require_once '../vendors/'Zend/some folder/some file.php'; You can do a mass find and replace in programs like dreamweaver and I think eclipse. If you do not use either or the program your using doesn't support a mass find and replace then you have to go through each file and update the require_once statements manually and that can be quite tedious. I hope I cleared some things up for you. On Mar 19, 10:08 am, roycakephp <[email protected]> wrote: > Hello, > > Can someone please tell me how you can use the youtube API in > combination with CakePhp? > I can't find anything about it on the internet. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
