Hi Guys,
I got the chance to work on YouTube API so thought that I should share the useful links so that it saves your time.
I got the chance to work on YouTube API so thought that I should share the useful links so that it saves your time.
- YouTube API
http://code.google.com/apis/youtube/getting_started.html#data_api - Get search term feed
http://gdata.youtube.com/feeds/api/videos?q=internet&v=2 (include the video id also) - PHP Guide
http://code.google.com/apis/youtube/2.0/developers_guide_php.html - YouTube API with PHP
http://www.ibm.com/developerworks/xml/library/x-youtubeapi/ - API Parameters
http://code.google.com/apis/youtube/2.0/developers_guide_protocol_api_query_parameters.html#Searching_for_Videos - Guide to display Videos
http://code.google.com/apis/youtube/2.0/developers_guide_protocol_displaying_list_of_videos.html - Custom YouTube Video Player
http://tutorialzine.com/2010/07/youtube-api-custom-player-jquery-css/
6 comments:
Hello
Good Job
can you please tell me how to use YouTube Video Crawling with example
thanks
Hi,
Thanks for comment, but I think I there is an example in the step 4.
Let me know if you need further clarification.
Thanks
Hi
Thanks for replay. I have try but search by keyword is not running .
Use "http://gdata.youtube.com/feeds/api/videos?q=keyword&v=2" as your feed url in step 4 :)
Hi
Thanks for replay.
I have got this URL : http://gdata.youtube.com/feeds/api/videos/-/cricket ?orderby=viewCount&max-results=10
I have copy this URL and paste this URl in another tab but it is not working.
And Please tell me how to run this code on localhost.
I am working on PHP 5.3 .Please solve my problem
thanks
Hi,
If you run your URL(http://gdata.youtube.com/feeds/api/videos/-/cricket%20?orderby=viewCount&max-results=10) in Mozilla then it will give you Zero result.
Use the exact syntax i.e. http://gdata.youtube.com/feeds/api/videos?q=cricket&v=2&max-results=10.
It is giving the result.
Try it and get the result in the browser first and then move ahead with code.
Post a Comment