I'm trying to retrieve my Youtube channel name using Youtube data API but I'm getting empty item. I have a channel in my Youtube account so it should return one.
These are the query properties I entered -
part:'contentDetails', forUsername: 'Seong+Lee',
to get the following response from their interactive documentation page.
200 OK
- SHOW HEADERS -
{
"kind": "youtube#channelListResponse",
"etag": "\"fpJ9onbY0Rl_LqYLG6rOCJ9h9N8/C3QZ-VsykvkpW2zCm7VjGBCayqc\"",
"pageInfo": {
"totalResults": 0,
"resultsPerPage": 5
},
"items": [
]
}
In my app I get the same response so I figured there is no issue with my request code. Why can't I get the channel name?