Hi
I want to get list of my own videos (Long/Short) .It is showing only 50. Below is the code
var client = new RestClient("googleapis.com/youtube/v3");
var request = new RestRequest("search", Method.GET);
request.AddParameter("part", "snippet");
request.AddParameter("type", "video");
request.AddParameter("maxResults", 400);
request.AddParameter("channelId", "UCg3KHFFGngG-m_nNLKVw");
request.AddParameter("key", "AINHKHJHHGFG8");
Thanks
Ramco RamcoPosted Apr 11, 2024, 4:59 AM
Hi Naimish
It is there
Thanks
Naimish MakwanaPosted Apr 11, 2024, 4:37 AM
Please check if below class stucture is there in code or not. If exist than use that class name insted of YoutubeSearchListResponse class here var response = client.Execute<YoutubeSearchListResponse>(request);.
Thanks
Ramco RamcoPosted Apr 11, 2024, 4:28 AM
Hi Naimish
I am trying below code but it is giving error YoutubeSearchListResponse does not contain a definition for item.
ExecuteRequest does not exist in the current context.