Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get all comments on a YouTube video?

Since Google has deprecated the YouTube v2 API, I cannot find a way to get all the comments from a video.

Is it possible to use a single, non-deprecated API (Google+, YT v3) to do that?

I am not concerned about maintaining threading.

like image 466
Paulie Avatar asked Nov 13 '13 22:11

Paulie


People also ask

Why can't I see all the comments on a YouTube video?

Check Your Comments Settings From the Upload Default or Community Tab. If your profile settings have disabled permissions for comments or have been set to hold comments for review. You might not see comments on your videos.

Can you see all comments made by someone on YouTube?

Click "History" at the top or scroll over the username at the top and click "Account." The Account section has a comprehensive list of features. Click "History" and visit each video to find comments. Use the Video Comments feature in the Account section to find personal comments that have received a reply.


2 Answers

Believe me it works

https://www.googleapis.com/youtube/v3/commentThreads?key=******************&textFormat=plainText&part=snippet&videoId=kffacxfA7G4&maxResults=50

Key will be provided by the google developer console and 50 denotes 50 comments in form of a json, video id is the id of the video. For any type of queries comment below.

like image 76
jayant singh Avatar answered Sep 24 '22 20:09

jayant singh


Apparently it is now possible to fetch comment threads.


(old answer)

Currently that's impossible with a first-party tool.

Source:

While v3 offers the majority of v2 functionality, there are currently a couple of tasks that can only be done with the older API. Specifically, applications that manage captions or that work with video comments still need to use the v2 API until modern equivalents are available. Our goal is to provide similar functionality well before the April 2015 shut-off date—please subscribe to this blog, the YouTube Data API v3 revision history page, or follow +YouTubeDev on Google+ to keep up-to-date. - http://apiblog.youtube.com/2014/03/committing-to-youtube-data-api-v3.html

TubeKit (YouTube crawling toolkit) might be of help to some.

like image 41
corazza Avatar answered Sep 22 '22 20:09

corazza