Hi
I have below code. I am trying thru API. How it can be done thru OAuth 2.0. I am trying to get My Channel Subscribers list.
using (var yt = new YouTubeService(new BaseClientService.Initializer()
{
ApiKey = "API Key",
}))
{
StringBuilder htmlTable = new StringBuilder();
var searchRequest = yt.Subscriptions.List("subscriberSnippet");
searchRequest.ChannelId = "Channel Id";
searchRequest.MySubscribers = true;
var searchResponse = searchRequest.Execute();
var objResult = searchResponse.Items.ToList();
}
Thanks