Comments
Yt::CommentThread
represents a YouTube comment thread.
Yt::Comment
represents a top level comment of a thread or a reply to a comment.
Video/Channel Comments
To retrieve all comment threads of a video or channel, you can use associations.
List of Yt::CommentThread
methods
→ Yt docscomment_thread.video_id # => "BPNYv0vd78A"
→ Yt docscomment_thread.total_reply_count # => 3
→ Yt docscomment_thread.public? # => true
→ Yt docscomment_thread.can_reply? # => true
→ Yt docscomment_thread.top_level_comment # => <Yt::Comment ...>"
→ Yt docscomment_thread.text_display # => "totally awesome"
→ Yt docscomment_thread.author_display_name # => "Jack"
→ Yt docscomment_thread.like_count # => 99
→ Yt docscomment_thread.updated_at # => 2015-03-31 06:46:46 UTC
List of Yt::Comment
methods
→ Yt docscomment.video_id # => "sojBKlt1Fik"
→ Yt docscomment.text_display # => "totally awesome"
→ Yt docscomment.author_display_name # => "Jack"
→ Yt docscomment.like_count # => 99
→ Yt docscomment.updated_at # => 2015-03-31 06:46:46 UTC
→ Yt docscomment.parent_id # => "z13cffaoaqrvvtwfm23vzzdh3w3xupe1w"