The other day I encountered a problem listening to YouTube events in real time. I need to receive new comments on my YouTube video and process them. Of course there is a way to do it differently and send requests in interval mode and poll the API, but for me this is not entirely efficient. Are there ways to implement this event handling mechanic?
I expect you to help implement this through webhooks rather than standard API polling.