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

How to get the total number of comment of a channel using YouTube Data API

$
0
0

I am using YouTube Data API and can get subscriber count, view count etc. by using the statistics parameter. I am aware that statistics cannot be used to get total likeCount and commentCount for a channel. But the API allows to get the playlist videos using contentDetails.relatedPlaylists.uploads.

So, my questions are

  1. How can I use the contentDetails.relatedPlaylists.uploads to fetch individual videos' likes and comments and append them into a JS variable?
  2. I used contentDetails.relatedPlaylists.uploads.items.likeCount to get the total likes of playlist individual video. But that seems to be incorrect. What is the correct term to get the total likes of a playlist individual video?

Viewing all articles
Browse latest Browse all 3720

Latest Images

Trending Articles



Latest Images

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