twitch-emoticons icon indicating copy to clipboard operation
twitch-emoticons copied to clipboard

Support TwitchEmote's v4 API, BTTV v3 API, upgrade deps

Open mkody opened this issue 6 years ago • 4 comments

NOTE

This PR needs to be updated to drop TwitchEmote altogether as its API doesn't work anymore.
My fork now uses the Twitch API directly, instead.

Since this repo appears abandoned, I've published a package from my fork branch: @mkody/twitch-emoticons


The TwitchEmote v3 API got shut down. Same for BTTV v2.

I pretty much reused bits from the BTTV part for this.
Oh and also fixed the quotes in the html template.

BREAKING CHANGES: fetchTwitchEmotes takes the ID of the channel as a parameter instead of a string or array of strings with the channel name.
BREAKING CHANGES 2: fetchBTTVEmotes takes the ID of the channel as a parameter instead of a string of the channel name.
You should also use a Twitch ID for FFZ, but support for both is still available for now.

Some dependencies and dev-dependencies were updated too.

mkody avatar Dec 30 '19 23:12 mkody

I think the lib is abandoned. Maybe you can upload the lib as another package?

Nisgrak avatar May 05 '20 17:05 Nisgrak

I could look into that but in the meantime you can install from git which works well. yarn add https://github.com/mkody/twitch-emoticons.git

mkody avatar May 08 '20 15:05 mkody

@mkody May I adopt your fork as maintainer and upload to NPM? It would be very beneficial to other developers working with Twitch emotes on their sites.

AhiVT avatar Aug 25 '20 23:08 AhiVT

I went and did it: https://www.npmjs.com/package/@mkody/twitch-emoticons

mkody avatar Aug 26 '20 08:08 mkody