You could try making an authenticated request, rather than just a
request without any credentials. I don't know off the top of my head
whether that will return unlisted videos in playlists, but it's worth
trying. If it doesn't work when making an authenticated request, then
it must not be something the API currently supports.
Cheers,
-Jeff Posnick, YouTube API Team
~ YouTube is hiring! ~ http://google.com/jobs/workyoutube ~
On Mar 28, 11:13 am, "t...@strata-g.com" <t...@strata-g.com> wrote:
> I'm using c# .Net and the GData client libraries and trying to be able
> to pull a video list from one of my playlist. However, I need the
> unlisted video to be included in that list as well. Is this
> possible?
>
> Currently im using the code below, which works but does not show the
> unlisted videos.
>
> YouTubeRequestSettings settings = new YouTubeRequestSettings(<my-app>,
> <my key>);
>
> YouTubeRequest request = new YouTubeRequest(settings);
>
> string feedUrl = "http://gdata.youtube.com/feeds/api/playlists/
> <my playlist>";
> Feed<Video> videoFeed = request.Get<Video>(new Uri(feedUrl));
--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
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