YouTube integration
Loved using Kruiz-Control on my twitch stream and wanted to switch over to using it with YouTube also.
I was reading over the (YT docs)[https://developers.google.com/youtube/v3/live/docs/liveChatMessages/list#pollingIntervalMillis] and it seems like the API would be polling instead of websockets.
Curious if you had any thoughts on this or how the integration would look? I'd be willing to do my own PR just figured I'd check-in to see if you had given this any other thought.
Hey there!
The issue is authentication. Setting up the polling and other API features would hopefully be easy after that.
Given it requires the OAuth flow, there's not an immediate path forward for integration. We'd have to set up another tool for authenticating users and store the access and refresh codes. I haven't fleshed out how it would fully work yet.
- Kruiser
I'd imagine it would require users to setup their own app/dev credentials on google then implementing something like:
https://developers.google.com/youtube/v3/guides/auth/client-side-web-apps?
Or would the goal be to not require users to create their own dev secrets? In which case need some kind of project proxy to obtain the oauth?
We could ask people to get their own credentials. Either way, we would still have to do the oauth flow which "requires" a user interface.
So, regardless of where the credentials come from, we need a way to generate an access/refresh token and then use those to authenticate against the API.