Chatterino / chatterino2

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

Twitch Polls #2739

Open gempir opened 3 years ago

gempir commented 3 years ago

Describe your issue Twitch just announced new API Endpoints for getting, ending and creating polls.

https://discuss.dev.twitch.tv/t/announcing-apis-and-eventsub-for-polls-and-predictions/31539

It would be really helpful to atleast get, end and create polls directly from Chatterino. I doubt Twitch will offer an API for voting in polls, but this issue isn't about voting anyway, the benefit is big enough IMO.

Mm2PL commented 3 years ago

event sub over websocket when ResidentSleeper

zneix commented 3 years ago

Please see https://github.com/Chatterino/Chatterino2/issues/2740#issuecomment-832218687

Eric1212 commented 2 years ago

I would say that polls missing from chatterino is sad to me. Hoping that some day we will find a direct access or a work around.

Jaid commented 2 years ago

I would like to be able to recommend Chatterino to more streamer friends, but missing polls is what prevents them from replacing Twitch chat with Chatterino.

Felanbird commented 2 years ago

I would like to be able to recommend Chatterino to more streamer friends, but missing polls is what prevents them from replacing Twitch chat with Chatterino.

Take it up with Twitch, the API mentioned in this issue is completely useless for Chatterino, the reason we don't have Polls in Chatterino is purely on Twitch, hence the blocked label.

pajlada commented 2 years ago

Scopes have will now be requested in https://github.com/Chatterino/website/pull/48 and https://github.com/Chatterino/website/pull/49

While the APIs are not super relevant for the average user, having the ability to view poll or prediction information as a streamer may come in handy and it's not a risky scope to add even if we're not using it right now.

BishopT commented 1 year ago

same comment as in #2740 but for poll:

https://dev.twitch.tv/docs/api/polls/#:~:text=the%20endpoint%20requires%20a%20user%20access%20token%20with%20scope%20channel%3Amanage%3Apolls.%20this%20scope%20works%20for%20creating%2C%20ending%2C%20and%20getting%20polls

Felanbird commented 1 year ago

same comment as in #2740 but for poll:

same reply

tikodeur commented 1 year ago

Is it the same issue for simpler accesses, like Get Polls or Get Predictions that only require channel:read tokens, or is it an overall user token issue? Asking from a viewer's perspective, not a broadcaster one.

Mm2PL commented 1 year ago

23 lip 2023 10:01:53 tikodeur @.***>:

Is it the same issue for simpler accesses, like Get Polls or Get Predictions that only require channel:read tokens, or is it an overall user token issue? Asking from a viewer's perspective, not a broadcaster one.

Tokens with scopes only apply to the channel of the person authorising them. Putting public data behind scopes makes it totally useless for us.