1

I'm looking for the way to get comments posted by a specific account through YouTube Data API and make a list of them.

I know the way to get comments on a specific video by using "CommentThreads" resource, however my aim here is to specify the user (maybe by channelId or user name) and to fetch recent comments he or she posted on some YouTube videos.

If it is possible, I guess the resource I need to achieve this would be "Activities" because it seems to have a property named "comment". But I don't get how to do it. Is it possible? Or is it right to use YouTube Data API?

Linda Lawton - DaImTo
  • 106,405
  • 32
  • 180
  • 449
jazzGeek
  • 95
  • 2
  • 9
  • Unfortunately, as far as I know, the YouTube Data API does not provide the info you need. – stvar Feb 19 '21 at 12:15
  • The [`Activities.list`](https://developers.google.com/youtube/v3/docs/activities/list) API endpoint is used for completely different things. Moreover, this endpoint does not return [activity items](https://developers.google.com/youtube/v3/docs/activities#resource) that have [`type`](https://developers.google.com/youtube/v3/docs/activities#snippet.type) be `comment`. – stvar Feb 19 '21 at 12:21

0 Answers0