r/dankmemes Jan 15 '22 Wholesome 71 All-Seeing Upvote 1 Evil Cackle 1 Mod's Choice 1 Silver 65 Helpful 61

Now touch both exposed proms with a pair of scissors it's pronounced gif

96.3k Upvotes

View all comments

Show parent comments

150

u/cantileverboom Jan 15 '22 edited Jan 15 '22

The API to obtain the dislike count still works, so the plugin calls the API and inserts the dislike count itself.

If YouTube ever removes the API, then there won't really be a way to obtain the dislike count.

(if anyone is unfamiliar with APIs, the Wikipedia page has a decent amount of info on them)

edit: seems like the API doesn't apply for new videos, and bases it off of user data from the extension. Thanks for the info fellow redditors

128

u/Nijensleekie Jan 15 '22

This is used to be true. That API feature is gone now. They pulled all historical data before it was gone. New videos have estimations based on the users using their software.

23

u/cantileverboom Jan 15 '22

Are you sure? It looks like it's still there (see statistics.dislikeCount under https://developers.google.com/youtube/v3/docs/videos#resource-representation )

of course, I wouldn't necessarily be surprised if the docs are out of date

edit: saw the other comment explaining it doesn't work for new videos

38

u/crimpysuasages i poast shit meme Jan 15 '22

Dislike counts still exists, but the API to pull it to user-side experience doesn't. Thus, we can't actually call the API in order to receive real-time and accurate YouTube-based dislike counts any more.