Stream Youtube Livestream Chat in Nodejs.
npm install --save youtube-stream
{
"client_id" : "yourAppClientId",
"client_secret" : "yourAppClientSecret",
"redirect_uris" :
[
"yourAppRedirectUris"
]
}
Access token of the user you are collecting for.
Live Chat Id of the live stream you want to collect.
Function invoked with (err, results)
.
Will be executed at regular intervals with new messages.
If err
is set, the stream will stop.
MIT