Hi
I am getting below error on execute statement - Incompatible parameters specified in the request: mySubscribers, channelId
using (var yt = new YouTubeService(new BaseClientService.Initializer()
{
ApiKey = "xyz",
}))
{
var searchRequest = yt.Subscriptions.List("snippet");
searchRequest.ChannelId = "ChannelId";
searchRequest.MySubscribers = true;
var searchResponse = searchRequest.Execute();
var objResult = searchResponse.Items.ToList();
}
Thanks
Jignesh KumarPosted Dec 13, 2022, 3:19 AM
Hi Ramco,
Please refer this link,
https://www.c-sharpcorner.com/UploadFile/9b86d4/list-videos-from-a-channel-using-youtube-api-v3-in-C-Sharp/
https://stackoverflow.com/questions/30866642/how-do-i-make-youtube-api-call-to-get-categories-according-to-given-region-and-a