I'm writing some code that loops through videos from a channel and updates them. It works for a channel with 11 videos but for some other channels with 900 or 400 videos, it doesn't do anything. Are there any restrictions on the api that would prevent me from running such code?
I'm using the PHP client library and the code snippet is below:
foreach ($allVideos as $video) {
printVideoEntry($video);
$video -> setVideoDescription($descriptionPrefix . " " . $video -> getVideoDescription());
$youTube -> updateEntry($video, $video -> getEditLink() -> getHref());
// Verify
$video = $youTube -> getFullVideoEntry($video -> getVideoId());
printVideoEntry($video);
}Thanks in advance for any help,
George.
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/-/gfmY0pVeHGQJ.
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