Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3831

Why is the YouTube Data API v3 not returning 'items' in channelListResponse for a specific username?

$
0
0

I am using the YouTube Data API v3 to fetch details about a specific YouTube channel using the forUsername parameter. However, my request is returning a response without the expected items field. Below is the curl command I'm using:

curl \'https://youtube.googleapis.com/youtube/v3/channels?forUsername=irodorimidori&key=[YOUR_API_KEY]' \  --header 'Authorization: Bearer [YOUR_ACCESS_TOKEN]' \  --header 'Accept: application/json' \  --compressed

return

{"kind": "youtube#channelListResponse","etag": "RuuXzTIr0OoDqI4S0RU6n4FqKEM","pageInfo": {"totalResults": 0,"resultsPerPage": 5  }}

why it dont return

{"kind": "youtube#channelListResponse","etag": etag,"nextPageToken": string,"prevPageToken": string,"pageInfo": {"totalResults": integer,"resultsPerPage": integer  },"items": [    channel Resource  ]}

i dont find items in return


Viewing all articles
Browse latest Browse all 3831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>