Yellow-Dog-Man / Resonite-Issues

Issue repository for Resonite.
https://resonite.com
135 stars 2 forks source link

Twitch V5 API Deprecation #68

Open Ruikio opened 11 months ago

Ruikio commented 11 months ago

Describe the bug?

Twitch redeems for Channel Points and Bits are no longer accepted on platform due to old API.

To Reproduce

Spawn/Set up a Twitch chat that does something for a redeem and redeem the corresponding thing in Twitch

Expected behavior

Twitch redeems should send an impulse to Resonite

Screenshots

No response

Resonite Version Number

Beta 2023.10.13.743

What Platforms does this occur on?

Windows

What headset if any do you use?

HTC Vive Pro Eye, Valve Index

Log Files

No response

Additional Context

The Twitch API v5 no longer is in use. https://discuss.dev.twitch.tv/t/legacy-twitch-api-v5-i-e-kraken-shutdown-reminder-february-28-2022/36589

Please use the updated version for the Twitch API seen here: https://github.com/TwitchLib/TwitchLib.Api

Please see the Neos post by Raith here: https://github.com/Neos-Metaverse/NeosPublic/issues/3645

Reporters

Rukio RaithSphere

Frooxius commented 11 months ago

We'll need to rework the Twitch integration a a bit. One particular challenge is that the new API's seem to require a login and cannot be accessed anonymously anymore.

This means that we'll likely have to add UI and system for you to login into Twitch account (likely with OAuth), in order to be able to access this functionality.

decoybird commented 3 months ago

Can this issue be revisited? I think a quick interim solution would be better than none, like specifying an API token or Channel ID within a string field.

Frooxius commented 3 months ago

Getting more votes on this can help prioritize it.

However the solution you propose isn't viable for two reasons: