{"id":31535,"date":"2016-01-16T15:54:33","date_gmt":"2016-01-16T10:24:33","guid":{"rendered":"https:\/\/2thenew.online\/blog\/?p=31535"},"modified":"2016-02-25T14:52:13","modified_gmt":"2016-02-25T09:22:13","slug":"youtube-apiv3-to-fetch-all-videos-on-a-channel-in-asp-net","status":"publish","type":"post","link":"https:\/\/2thenew.online\/blog\/youtube-apiv3-to-fetch-all-videos-on-a-channel-in-asp-net\/","title":{"rendered":"Youtube API(V3) to fetch all videos on a Channel in ASP.NET"},"content":{"rendered":"<p>This Blog explains how to retrieve \u00a0a specific user&#8217;s playlists of videos. This \u00a0does not require any user authorization.<\/p>\n<p>YouTube is widely used in our life. \u00a0Because simplicity and ease of use, <a title=\"youtube channel management services\" href=\"https:\/\/2thenew.online\/digital-video-solutions\">YouTube has become the most popular video sharing<\/a> and one of the most popular websites in the world. Some YouTube API allows us to get the specific user&#8217;s playlists.<\/p>\n<p>To work with YouTube data API, we need to generate the Developer Key by following \u00a0the below reference<\/p>\n<p><em>http:\/\/help.dimsemenov.com\/kb\/wordpress-royalslider-tutorials\/wp-how-to-get-youtube-api-key<\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-31531\" src=\"\/blog\/wp-ttn-blog\/uploads\/2016\/01\/Google-API.png\" alt=\"Google API\" width=\"461\" height=\"245\" \/><\/p>\n<p>After generating the Developer key ,Open visual studio and \u00a0create ASP.net empty web site<\/p>\n<ul>\n<li><strong>Add Default Page (Default.aspx):-<\/strong><\/li>\n<\/ul>\n<p>Let\u2019s take one text box for channel name which is entered by user. Once \u00a0user enter the channel name in text box \u00a0and clicked on button after that<strong>\u00a0<\/strong>it will show playlist of video with respect to entered channel name by user.<\/p>\n<p><strong>ASPX \u00a0Code :-<\/strong><\/p>\n<p><strong>User Id:-<\/strong> &lt;asp:TextBox ID=&#8221;TextBox1&#8243; runat=&#8221;server&#8221;&gt;&lt;\/asp:TextBox&gt;<\/p>\n<p>&lt;asp:Button ID=&#8221;btn_Search&#8221; OnClick=&#8221;Button1_Click&#8221; runat=&#8221;server&#8221; Text=&#8221;Search&#8221; \/&gt;<\/p>\n<p>&lt;asp:GridView ID=&#8221;GridView1&#8243; AutoGenerateColumns=&#8221;false&#8221; runat=&#8221;server&#8221;&gt;<\/p>\n<p>&lt;Columns&gt;<\/p>\n<p>&lt;asp:ButtonField Text=&#8221;btn_Select&#8221; CommandName=&#8221;Select&#8221; ItemStyle-Width=&#8221;150&#8243; \/&gt;<\/p>\n<p>&lt;asp:TemplateField&gt;<\/p>\n<p>&lt;ItemTemplate&gt;<\/p>\n<p>&lt;a href='&lt;%# &#8220;Default2.aspx?ListId=&#8221;+Eval(&#8220;videoId&#8221;) %&gt;&#8217;&gt;<\/p>\n<p>&lt;img src='&lt;%# Eval(&#8220;ImageUrl&#8221;) %&gt;&#8217; alt='&lt;%# Eval(&#8220;ImageUrl&#8221;) %&gt;&#8217; \/&gt;<\/p>\n<p>&lt;\/a&gt;<\/p>\n<p>&lt;\/ItemTemplate&gt;<\/p>\n<p>&lt;\/asp:TemplateField&gt;<\/p>\n<p>&lt;asp:TemplateField&gt;<\/p>\n<p>&lt;ItemTemplate&gt;<\/p>\n<p>&lt;asp:Label ID=&#8221;lbltitle&#8221; runat=&#8221;server&#8221; Text='&lt;%# Eval(&#8220;Title&#8221;) %&gt;&#8217;&gt;&lt;\/asp:Label&gt;<\/p>\n<p>&lt;\/ItemTemplate&gt;<\/p>\n<p>&lt;\/asp:TemplateField&gt;<\/p>\n<p>&lt;asp:TemplateField&gt;<\/p>\n<p>&lt;ItemTemplate&gt;<\/p>\n<p>&lt;asp:Label ID=&#8221;lbldiscription&#8221; runat=&#8221;server&#8221; Text=&#8217; &lt;%# Eval(&#8220;discription&#8221;) %&gt;&#8217;&gt;&lt;\/asp:Label&gt;<\/p>\n<p>&lt;\/ItemTemplate&gt;<\/p>\n<p>&lt;\/asp:TemplateField&gt;<\/p>\n<p>&lt;asp:TemplateField&gt;<\/p>\n<p>&lt;ItemTemplate&gt;<\/p>\n<p>&lt;asp:Label ID=&#8221;lblvideoId&#8221; runat=&#8221;server&#8221; Text=&#8217; &lt;%# Eval(&#8220;videoId&#8221;) %&gt;&#8217;&gt;&lt;\/asp:Label&gt;<\/p>\n<p>&lt;\/ItemTemplate&gt;<\/p>\n<p>&lt;\/asp:TemplateField&gt;<\/p>\n<p>&lt;asp:TemplateField&gt;<\/p>\n<p>&lt;ItemTemplate&gt;<\/p>\n<p>&lt;asp:Label ID=&#8221;lblImageUrl&#8221; runat=&#8221;server&#8221; Text=&#8217; &lt;%# Eval(&#8220;ImageUrl&#8221;) %&gt;&#8217;&gt;&lt;\/asp:Label&gt;<\/p>\n<p>&lt;\/ItemTemplate&gt;<\/p>\n<p>&lt;\/asp:TemplateField&gt;<\/p>\n<p>&lt;\/Columns&gt;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 &lt;\/asp:GridView&gt;<\/p>\n<p>&nbsp;<\/p>\n<p><strong>.CS Code:-<\/strong><\/p>\n<p>DataTable dt = new System.Data.DataTable();<\/p>\n<p><strong>\u00a0\u00a0\u00a0 protected void Button1_Click(object sender, EventArgs e)<\/strong><\/p>\n<p><strong>{<\/strong><\/p>\n<p>dt.Columns.Add(new DataColumn(&#8220;Title&#8221;, typeof(string)));<\/p>\n<p>dt.Columns.Add(new DataColumn(&#8220;discription&#8221;, typeof(string)));<\/p>\n<p>dt.Columns.Add(new DataColumn(&#8220;videoId&#8221;, typeof(string)));<\/p>\n<p>dt.Columns.Add(new DataColumn(&#8220;ImageUrl&#8221;, typeof(string)));<\/p>\n<p>readplaylist();<\/p>\n<p>GridView1.DataSource = dt;<\/p>\n<p>GridView1.DataBind();<\/p>\n<p><strong>}<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u00a0\u00a0\u00a0 public void readplaylist()<\/strong><\/p>\n<p><strong>{<\/strong><\/p>\n<p>WebClient wc = new WebClient { Encoding = Encoding.UTF8 };<\/p>\n<p>try<\/p>\n<p>{<\/p>\n<p>string jsonstring = wc.DownloadString(&#8220;https:\/\/www.googleapis.com\/youtube\/v3\/playlists?part=snippet&amp;key=<strong>\u00a0Developer Key<\/strong> &amp;maxResults=50&amp;channelId=&#8221; + CHanelId() + &#8220;&#8221;);<\/p>\n<p>JObject jobj = (JObject)JsonConvert.DeserializeObject(jsonstring);<\/p>\n<p>foreach (var entry in jobj[&#8220;items&#8221;])<\/p>\n<p>{\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 dt.Rows.Add(entry[&#8220;snippet&#8221;][&#8220;title&#8221;].ToString(), entry[&#8220;snippet&#8221;][&#8220;description&#8221;].ToString(), entry[&#8220;id&#8221;].ToString(), entry[&#8220;snippet&#8221;][&#8220;thumbnails&#8221;][&#8220;medium&#8221;][&#8220;url&#8221;].ToString());<\/p>\n<p>}<\/p>\n<p>}\u00a0 \u00a0 \u00a0 \u00a0 catch (Exception ex)<\/p>\n<p>{<\/p>\n<p>throw;<\/p>\n<p>}<\/p>\n<p><strong>\u00a0}<\/strong><\/p>\n<p><strong>public string CHanelId()<\/strong><\/p>\n<p><strong>\u00a0\u00a0\u00a0 {<\/strong><\/p>\n<p>WebClient wc = new WebClient { Encoding = Encoding.UTF8 };<\/p>\n<p>try<\/p>\n<p>{<\/p>\n<p>string jsonstring = wc.DownloadString(&#8220;https:\/\/www.googleapis.com\/youtube\/v3\/channels?key=<strong>Developer Key<\/strong>&amp;forUsername=&#8221; + TextBox1.Text + &#8220;&amp;part=id&#8221;);<\/p>\n<p>JObject jobj = (JObject)JsonConvert.DeserializeObject(jsonstring);<\/p>\n<p>return jobj[&#8220;items&#8221;][0][&#8220;id&#8221;].ToString();<\/p>\n<p>}<\/p>\n<p>catch (Exception ex)<\/p>\n<p>{\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 throw;<\/p>\n<p>}<\/p>\n<p><strong>\u00a0\u00a0\u00a0 }<\/strong><\/p>\n<p>Enter youtube channel name:-<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-31532\" src=\"\/blog\/wp-ttn-blog\/uploads\/2016\/01\/step-1.png\" alt=\"step 1\" width=\"392\" height=\"118\" \/><\/p>\n<p><b>User will enter youtube video channel name in text box and then click on button.After clicking on button,it will show playlist of video with respect to entered channel name.<\/b><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-31533\" src=\"\/blog\/wp-ttn-blog\/uploads\/2016\/01\/step-2.png\" alt=\"step 2\" width=\"392\" height=\"453\" \/><\/p>\n<p><strong>Note:- Click on any thumbnail of video play list ,it will \u00a0show all videos of that particular clicked play list on next page named as default2.aspx.<\/strong><\/p>\n<ul>\n<li><strong>Lets&#8217; Create another page for showing all playlist named as videos.aspx<\/strong><\/li>\n<\/ul>\n<p><strong>videos.aspx Page Code<\/strong><\/p>\n<p>&lt;asp:GridView ID=&#8221;GridView1&#8243;\u00a0 AutoGenerateColumns=&#8221;false&#8221; runat=&#8221;server&#8221;&gt;<\/p>\n<p>&lt;Columns&gt;<\/p>\n<p>&lt;asp:ButtonField Text=&#8221;Select&#8221; CommandName=&#8221;Select&#8221; ItemStyle-Width=&#8221;150&#8243; \/&gt;<\/p>\n<p>&lt;asp:TemplateField&gt;<\/p>\n<p>&lt;ItemTemplate&gt;<\/p>\n<p>&lt;a href='&lt;%# &#8220;Default2.aspx?ListId=&#8221;+Eval(&#8220;videoId&#8221;) %&gt;&#8217;&gt;<\/p>\n<p>&lt;img src='&lt;%# Eval(&#8220;ImageUrl&#8221;) %&gt;&#8217; alt='&lt;%# Eval(&#8220;ImageUrl&#8221;) %&gt;&#8217; \/&gt;<\/p>\n<p>&lt;\/a&gt;<\/p>\n<p>&lt;\/ItemTemplate&gt;<\/p>\n<p>&lt;\/asp:TemplateField&gt;<\/p>\n<p>&lt;asp:TemplateField&gt;<\/p>\n<p>&lt;ItemTemplate&gt;<\/p>\n<p>&lt;asp:Label ID=&#8221;lbltitle&#8221; runat=&#8221;server&#8221; Text='&lt;%# Eval(&#8220;Title&#8221;) %&gt;&#8217;&gt;&lt;\/asp:Label&gt;<\/p>\n<p>&lt;\/ItemTemplate&gt;<\/p>\n<p>&lt;\/asp:TemplateField&gt;<\/p>\n<p>&lt;asp:TemplateField&gt;<\/p>\n<p>&lt;ItemTemplate&gt;<\/p>\n<p>&lt;asp:Label ID=&#8221;lbldiscription&#8221; runat=&#8221;server&#8221; Text=&#8217; &lt;%# Eval(&#8220;discription&#8221;) %&gt;&#8217;&gt;&lt;\/asp:Label&gt;<\/p>\n<p>&lt;\/ItemTemplate&gt;<\/p>\n<p>&lt;\/asp:TemplateField&gt;<\/p>\n<p>&lt;asp:TemplateField&gt;<\/p>\n<p>&lt;ItemTemplate&gt;<\/p>\n<p>&lt;asp:Label ID=&#8221;lblvideoId&#8221; runat=&#8221;server&#8221; Text=&#8217; &lt;%# Eval(&#8220;videoId&#8221;) %&gt;&#8217;&gt;&lt;\/asp:Label&gt;<\/p>\n<p>&lt;\/ItemTemplate&gt;<\/p>\n<p>&lt;\/asp:TemplateField&gt;<\/p>\n<p>&lt;asp:TemplateField&gt;<\/p>\n<p>&lt;ItemTemplate&gt;<\/p>\n<p>&lt;asp:Label ID=&#8221;lblImageUrl&#8221; runat=&#8221;server&#8221; Text=&#8217; &lt;%# Eval(&#8220;ImageUrl&#8221;) %&gt;&#8217;&gt;&lt;\/asp:Label&gt;<\/p>\n<p>&lt;\/ItemTemplate&gt;<\/p>\n<p>&lt;\/asp:TemplateField&gt;<\/p>\n<p>&lt;\/Columns&gt;<\/p>\n<p>&lt;\/asp:GridView&gt;<\/p>\n<p><strong>videos.aspx.CS page code :<\/strong><\/p>\n<p>protected void Page_Load(object sender, EventArgs e)<\/p>\n<p>{\u00a0 \u00a0 \u00a0 \u00a0 dt.Columns.Add(new DataColumn(&#8220;Title&#8221;, typeof(string)));<\/p>\n<p>dt.Columns.Add(new DataColumn(&#8220;discription&#8221;, typeof(string)));<\/p>\n<p>dt.Columns.Add(new DataColumn(&#8220;videoId&#8221;, typeof(string)));<\/p>\n<p>dt.Columns.Add(new DataColumn(&#8220;ImageUrl&#8221;, typeof(string)));<\/p>\n<p>readplaylist(&#8220;&#8221;);<\/p>\n<p>GridView1.DataSource = dt;<\/p>\n<p>GridView1.DataBind();<\/p>\n<p>}<\/p>\n<p>public void readplaylist(string pageid)<\/p>\n<p>{<\/p>\n<p>if (pageid.Length == 0)<\/p>\n<p>{<\/p>\n<p>WebClient wc = new WebClient { Encoding = Encoding.UTF8 };<\/p>\n<p>try<\/p>\n<p>{<\/p>\n<p>string jsonstring = wc.DownloadString(&#8220;https:\/\/www.googleapis.com\/youtube\/v3\/playlistItems?part=snippet&amp;playlistId=&#8221; + Request.QueryString[&#8220;ListId&#8221;].ToString().Trim() + &#8220;&amp;key=<strong>Developer Key<\/strong> &amp;maxResults=50&#8243;);<\/p>\n<p>JObject jobj = (JObject)JsonConvert.DeserializeObject(jsonstring);<\/p>\n<p>Label1.Text = jobj[&#8220;pageInfo&#8221;][&#8220;totalResults&#8221;].ToString();<\/p>\n<p>foreach (var entry in jobj[&#8220;items&#8221;])<\/p>\n<p>{<\/p>\n<p>dt.Rows.Add(entry[&#8220;snippet&#8221;][&#8220;title&#8221;].ToString(), entry[&#8220;snippet&#8221;][&#8220;description&#8221;].ToString(), entry[&#8220;snippet&#8221;][&#8220;resourceId&#8221;][&#8220;videoId&#8221;].ToString(), entry[&#8220;snippet&#8221;][&#8220;thumbnails&#8221;][&#8220;default&#8221;][&#8220;url&#8221;].ToString());<\/p>\n<p>}<\/p>\n<p>if (jobj[&#8220;nextPageToken&#8221;] != null &amp;&amp; jobj[&#8220;nextPageToken&#8221;].ToString() != &#8220;&#8221;)<\/p>\n<p>{<\/p>\n<p>readplaylist(jobj[&#8220;nextPageToken&#8221;].ToString());<\/p>\n<p>}<\/p>\n<p>}<\/p>\n<p>catch (Exception ex)<\/p>\n<p>{<\/p>\n<p>throw;<\/p>\n<p>}<\/p>\n<p>}<\/p>\n<p>else\u00a0 \u00a0{<\/p>\n<p>WebClient wc = new WebClient { Encoding = Encoding.UTF8 };<\/p>\n<p>try<\/p>\n<p>{<\/p>\n<p>string jsonstring = wc.DownloadString(&#8220;https:\/\/www.googleapis.com\/youtube\/v3\/playlistItems?part=snippet&amp;playlistId=&#8221; + Request.QueryString[&#8220;ListId&#8221;].ToString().Trim() + &#8220;&amp;key=<strong>Developer key<\/strong> &amp;maxResults=50&amp;pageToken=&#8221; + pageid + &#8220;&#8221;);<\/p>\n<p>JObject jobj = (JObject)JsonConvert.DeserializeObject(jsonstring);<\/p>\n<p>foreach (var entry in jobj[&#8220;items&#8221;])<\/p>\n<p>{<\/p>\n<p>dt.Rows.Add(entry[&#8220;snippet&#8221;][&#8220;title&#8221;].ToString(), entry[&#8220;snippet&#8221;][&#8220;description&#8221;].ToString(), entry[&#8220;snippet&#8221;][&#8220;resourceId&#8221;][&#8220;videoId&#8221;].ToString(), entry[&#8220;snippet&#8221;][&#8220;thumbnails&#8221;][&#8220;default&#8221;][&#8220;url&#8221;].ToString());<\/p>\n<p>}<\/p>\n<p>if (jobj[&#8220;nextPageToken&#8221;] != null &amp;&amp; jobj[&#8220;nextPageToken&#8221;].ToString() != &#8220;&#8221;)<\/p>\n<p>{<\/p>\n<p>readplaylist(jobj[&#8220;nextPageToken&#8221;].ToString());<\/p>\n<p>&nbsp;<\/p>\n<p>}<\/p>\n<p>}<\/p>\n<p>catch (Exception ex)<\/p>\n<p>{\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0throw;<\/p>\n<p>}<\/p>\n<p>}<\/p>\n<p>}<\/p>\n<p>&nbsp;<\/p>\n<p><strong>After clicking \u00a0on thumbnail image of playlist in third row of \u00a0all play list page as given in\u00a0above\u00a0image,it will show all videos of clicked play list as in given below \u00a0image.<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-31534\" src=\"\/blog\/wp-ttn-blog\/uploads\/2016\/01\/step-3.png\" alt=\"step 3\" width=\"628\" height=\"301\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This Blog explains how to retrieve \u00a0a specific user&#8217;s playlists of videos. This \u00a0does not require any user authorization. YouTube is widely used in our life. \u00a0Because simplicity and ease of use, YouTube has become the most popular video sharing and one of the most popular websites in the world. Some YouTube API allows us [&hellip;]<\/p>\n","protected":false},"author":855,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":10,"footnotes":""},"categories":[1814],"tags":[2988,2989],"class_list":["post-31535","post","type-post","status-publish","format-standard","hentry","category-industry-buzz","tag-asp-api-for-youtube","tag-asp-net-api-for-videos"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"This Blog explains how to retrieve a specific user&#039;s playlists of videos. This does not require any user authorization. YouTube is widely used in our life. Because simplicity and ease of use, YouTube has become the most popular video sharing and one of the most popular websites in the world. Some YouTube API allows us\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Mohit Kumar\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/2thenew.online\/blog\/youtube-apiv3-to-fetch-all-videos-on-a-channel-in-asp-net\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TO THE NEW BLOG\" \/>\n\t\t<meta property=\"og:type\" content=\"blog\" \/>\n\t\t<meta property=\"og:title\" content=\"Youtube API(V3) to fetch all videos on a Channel in ASP.NET | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"This Blog explains how to retrieve a specific user&#039;s playlists of videos. This does not require any user authorization. YouTube is widely used in our life. Because simplicity and ease of use, YouTube has become the most popular video sharing and one of the most popular websites in the world. Some YouTube API allows us\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/2thenew.online\/blog\/youtube-apiv3-to-fetch-all-videos-on-a-channel-in-asp-net\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Youtube API(V3) to fetch all videos on a Channel in ASP.NET | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"This Blog explains how to retrieve a specific user&#039;s playlists of videos. This does not require any user authorization. YouTube is widely used in our life. Because simplicity and ease of use, YouTube has become the most popular video sharing and one of the most popular websites in the world. Some YouTube API allows us\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/youtube-apiv3-to-fetch-all-videos-on-a-channel-in-asp-net\\\/#article\",\"name\":\"Youtube API(V3) to fetch all videos on a Channel in ASP.NET | TO THE NEW Blog\",\"headline\":\"Youtube API(V3) to fetch all videos on a Channel in ASP.NET\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/mohit-kumar1\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"\\\/blog\\\/wp-ttn-blog\\\/uploads\\\/2016\\\/01\\\/Google-API.png\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/youtube-apiv3-to-fetch-all-videos-on-a-channel-in-asp-net\\\/#articleImage\"},\"datePublished\":\"2016-01-16T15:54:33+05:30\",\"dateModified\":\"2016-02-25T14:52:13+05:30\",\"inLanguage\":\"en-US\",\"commentCount\":6,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/youtube-apiv3-to-fetch-all-videos-on-a-channel-in-asp-net\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/youtube-apiv3-to-fetch-all-videos-on-a-channel-in-asp-net\\\/#webpage\"},\"articleSection\":\"Industry Buzz, ASP API for Youtube, ASP.NET API for Videos\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/youtube-apiv3-to-fetch-all-videos-on-a-channel-in-asp-net\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/industry-buzz\\\/#listItem\",\"name\":\"Industry Buzz\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/industry-buzz\\\/#listItem\",\"position\":2,\"name\":\"Industry Buzz\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/industry-buzz\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/youtube-apiv3-to-fetch-all-videos-on-a-channel-in-asp-net\\\/#listItem\",\"name\":\"Youtube API(V3) to fetch all videos on a Channel in ASP.NET\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/youtube-apiv3-to-fetch-all-videos-on-a-channel-in-asp-net\\\/#listItem\",\"position\":3,\"name\":\"Youtube API(V3) to fetch all videos on a Channel in ASP.NET\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/industry-buzz\\\/#listItem\",\"name\":\"Industry Buzz\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\",\"name\":\"TO THE NEW Blog\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/mohit-kumar1\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/mohit-kumar1\\\/\",\"name\":\"Mohit Kumar\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/youtube-apiv3-to-fetch-all-videos-on-a-channel-in-asp-net\\\/#authorImage\",\"url\":\"https:\\\/\\\/newersworld-sf-static.tothenew.net\\\/prod\\\/profilePicFolder\\\/21c535ef-49a1-438f-a7e0-613e190f0829_mohit.kumar1@tothenew.com.jpg\",\"width\":96,\"height\":96,\"caption\":\"Mohit Kumar\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/youtube-apiv3-to-fetch-all-videos-on-a-channel-in-asp-net\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/youtube-apiv3-to-fetch-all-videos-on-a-channel-in-asp-net\\\/\",\"name\":\"Youtube API(V3) to fetch all videos on a Channel in ASP.NET | TO THE NEW Blog\",\"description\":\"This Blog explains how to retrieve a specific user's playlists of videos. This does not require any user authorization. YouTube is widely used in our life. Because simplicity and ease of use, YouTube has become the most popular video sharing and one of the most popular websites in the world. Some YouTube API allows us\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/youtube-apiv3-to-fetch-all-videos-on-a-channel-in-asp-net\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/mohit-kumar1\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/mohit-kumar1\\\/#author\"},\"datePublished\":\"2016-01-16T15:54:33+05:30\",\"dateModified\":\"2016-02-25T14:52:13+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\",\"name\":\"TO THE NEW Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Youtube API(V3) to fetch all videos on a Channel in ASP.NET | TO THE NEW Blog","description":"This Blog explains how to retrieve a specific user's playlists of videos. This does not require any user authorization. YouTube is widely used in our life. Because simplicity and ease of use, YouTube has become the most popular video sharing and one of the most popular websites in the world. Some YouTube API allows us","canonical_url":"https:\/\/2thenew.online\/blog\/youtube-apiv3-to-fetch-all-videos-on-a-channel-in-asp-net\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/2thenew.online\/blog\/youtube-apiv3-to-fetch-all-videos-on-a-channel-in-asp-net\/#article","name":"Youtube API(V3) to fetch all videos on a Channel in ASP.NET | TO THE NEW Blog","headline":"Youtube API(V3) to fetch all videos on a Channel in ASP.NET","author":{"@id":"https:\/\/2thenew.online\/blog\/author\/mohit-kumar1\/#author"},"publisher":{"@id":"https:\/\/2thenew.online\/blog\/#organization"},"image":{"@type":"ImageObject","url":"\/blog\/wp-ttn-blog\/uploads\/2016\/01\/Google-API.png","@id":"https:\/\/2thenew.online\/blog\/youtube-apiv3-to-fetch-all-videos-on-a-channel-in-asp-net\/#articleImage"},"datePublished":"2016-01-16T15:54:33+05:30","dateModified":"2016-02-25T14:52:13+05:30","inLanguage":"en-US","commentCount":6,"mainEntityOfPage":{"@id":"https:\/\/2thenew.online\/blog\/youtube-apiv3-to-fetch-all-videos-on-a-channel-in-asp-net\/#webpage"},"isPartOf":{"@id":"https:\/\/2thenew.online\/blog\/youtube-apiv3-to-fetch-all-videos-on-a-channel-in-asp-net\/#webpage"},"articleSection":"Industry Buzz, ASP API for Youtube, ASP.NET API for Videos"},{"@type":"BreadcrumbList","@id":"https:\/\/2thenew.online\/blog\/youtube-apiv3-to-fetch-all-videos-on-a-channel-in-asp-net\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog#listItem","position":1,"name":"Home","item":"https:\/\/2thenew.online\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/category\/industry-buzz\/#listItem","name":"Industry Buzz"}},{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/category\/industry-buzz\/#listItem","position":2,"name":"Industry Buzz","item":"https:\/\/2thenew.online\/blog\/category\/industry-buzz\/","nextItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/youtube-apiv3-to-fetch-all-videos-on-a-channel-in-asp-net\/#listItem","name":"Youtube API(V3) to fetch all videos on a Channel in ASP.NET"},"previousItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/youtube-apiv3-to-fetch-all-videos-on-a-channel-in-asp-net\/#listItem","position":3,"name":"Youtube API(V3) to fetch all videos on a Channel in ASP.NET","previousItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/category\/industry-buzz\/#listItem","name":"Industry Buzz"}}]},{"@type":"Organization","@id":"https:\/\/2thenew.online\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/2thenew.online\/blog\/"},{"@type":"Person","@id":"https:\/\/2thenew.online\/blog\/author\/mohit-kumar1\/#author","url":"https:\/\/2thenew.online\/blog\/author\/mohit-kumar1\/","name":"Mohit Kumar","image":{"@type":"ImageObject","@id":"https:\/\/2thenew.online\/blog\/youtube-apiv3-to-fetch-all-videos-on-a-channel-in-asp-net\/#authorImage","url":"https:\/\/newersworld-sf-static.tothenew.net\/prod\/profilePicFolder\/21c535ef-49a1-438f-a7e0-613e190f0829_mohit.kumar1@tothenew.com.jpg","width":96,"height":96,"caption":"Mohit Kumar"}},{"@type":"WebPage","@id":"https:\/\/2thenew.online\/blog\/youtube-apiv3-to-fetch-all-videos-on-a-channel-in-asp-net\/#webpage","url":"https:\/\/2thenew.online\/blog\/youtube-apiv3-to-fetch-all-videos-on-a-channel-in-asp-net\/","name":"Youtube API(V3) to fetch all videos on a Channel in ASP.NET | TO THE NEW Blog","description":"This Blog explains how to retrieve a specific user's playlists of videos. This does not require any user authorization. YouTube is widely used in our life. Because simplicity and ease of use, YouTube has become the most popular video sharing and one of the most popular websites in the world. Some YouTube API allows us","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/2thenew.online\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/2thenew.online\/blog\/youtube-apiv3-to-fetch-all-videos-on-a-channel-in-asp-net\/#breadcrumblist"},"author":{"@id":"https:\/\/2thenew.online\/blog\/author\/mohit-kumar1\/#author"},"creator":{"@id":"https:\/\/2thenew.online\/blog\/author\/mohit-kumar1\/#author"},"datePublished":"2016-01-16T15:54:33+05:30","dateModified":"2016-02-25T14:52:13+05:30"},{"@type":"WebSite","@id":"https:\/\/2thenew.online\/blog\/#website","url":"https:\/\/2thenew.online\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/2thenew.online\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"Youtube API(V3) to fetch all videos on a Channel in ASP.NET | TO THE NEW Blog","og:description":"This Blog explains how to retrieve a specific user's playlists of videos. This does not require any user authorization. YouTube is widely used in our life. Because simplicity and ease of use, YouTube has become the most popular video sharing and one of the most popular websites in the world. Some YouTube API allows us","og:url":"https:\/\/2thenew.online\/blog\/youtube-apiv3-to-fetch-all-videos-on-a-channel-in-asp-net\/","og:image":"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"Youtube API(V3) to fetch all videos on a Channel in ASP.NET | TO THE NEW Blog","twitter:description":"This Blog explains how to retrieve a specific user's playlists of videos. This does not require any user authorization. YouTube is widely used in our life. Because simplicity and ease of use, YouTube has become the most popular video sharing and one of the most popular websites in the world. Some YouTube API allows us","twitter:image":"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"31535","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":"","og_description":"","og_object_type":"blog","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":"","og_article_tags":"","twitter_use_og":false,"twitter_card":"summary","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2021-04-29 14:30:53","updated":"2024-02-29 09:14:26","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/2thenew.online\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/2thenew.online\/blog\/category\/industry-buzz\/\" title=\"Industry Buzz\">Industry Buzz<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tYoutube API(V3) to fetch all videos on a Channel in ASP.NET\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/2thenew.online\/blog"},{"label":"Industry Buzz","link":"https:\/\/2thenew.online\/blog\/category\/industry-buzz\/"},{"label":"Youtube API(V3) to fetch all videos on a Channel in ASP.NET","link":"https:\/\/2thenew.online\/blog\/youtube-apiv3-to-fetch-all-videos-on-a-channel-in-asp-net\/"}],"_links":{"self":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/posts\/31535","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/users\/855"}],"replies":[{"embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/comments?post=31535"}],"version-history":[{"count":0,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/posts\/31535\/revisions"}],"wp:attachment":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/media?parent=31535"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/categories?post=31535"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/tags?post=31535"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}