Wednesday, December 28, 2011

[YouTube-API] Data API search Feed Dropping Out

All,

I have the following simple php code:

<?php
$feedURL = "http://gdata.youtube.com/feeds/api/videos/-/Music/?vq=blur+beetlebum&setracy=include&setFormat=5&max-results=1&format=5&orderby=relevance&start-index=1";
$sxml = simplexml_load_file($feedURL);
var_dump($sxml);
?>

This works for 5-10 minutes then suddenly stops working and I get an HTTP stream error like it the feedURL is no longer available, can anyone help with this?

Thanks

Lawrence

--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To view this discussion on the web visit https://groups.google.com/d/msg/youtube-api-gdata/-/Ptyyv-8Ur_0J.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.

No comments:

Post a Comment