Chatterino / chatterino2

Chat client for https://twitch.tv
MIT License
2.03k stars 446 forks source link

Migrate Twitch badges to Helix #4492

Closed Felanbird closed 1 year ago

Felanbird commented 1 year ago

(2023-06-08) UPDATE:

As of 18 minutes ago, the old badge API has been shut down forever.

As I mentioned below, to resolve this issue just update to 2.4.3 or newer

(2023-05-07) UPDATE:

As I noted below, Twitch will be deprecating the old badge API next month June 8th. One thing I did not remember in my original post was the fact that with Helix API calls, you must be logged in to properly send the request, so unfortunately Anon users will be losing badge functionality then (2.4.3 onwards)

To make sure you continue to have Twitch badges after June 8th, update to any version after 2.4.3.

(2022-04-01) ORIGINAL POST:

As part of Twitch's announced deprecation of IRC commands everything, the endpoint we get badges from is being deprecated and will need to be migrated to the relevant Helix API endpoint.

As far as I can see from the documentation, there are no restrictions like most other deprecation, and functionality should continue to work as expected. (or even better if you were effected by #4071 or #4456)

Announcement: https://discuss.dev.twitch.tv/t/legacy-badges-endpoint-shutdown-details-and-timeline-june-2023/44621

Relevant documentation: https://dev.twitch.tv/docs/api/reference/#get-global-chat-badges https://dev.twitch.tv/docs/api/reference/#get-channel-chat-badges

pajlada commented 1 year ago

This is a pretty easy fix, it would be a good match for any new contributors that have been looking to do something for Chatterino.

If you're interested in working on this issue, please say so in this issue and we'll assign you to the issue & help you out with any questions you might have.

ZonianMidian commented 1 year ago

If you're interested in working on this issue, please say so in this issue and we'll assign you to the issue & help you out with any questions you might have.

I would like to work on this issue image