-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
on start project i have error: chat id invalid #5
Comments
the master branch was a working version that had not yet been released to npm const YouTube = require('youtube-live-chat');
const yt = new YouTube('CHANNEL_ID_IS_HERE', 'APIKEY_IS_HERE');
yt.on('ready', () => {
console.log('ready!')
yt.listen(1000)
})
yt.on('message', data => {
console.log(data.snippet.displayMessage)
})
yt.on('error', error => {
console.error(error)
}) |
i clone file index.js,
i have error
but channel active and chat active |
i test develop version and test random yt channel and have this mesage
but channel is online, and have a chat |
Hmm... I couldn't get the live stream for the channel even if I tried it with API Explorer |
Apparently, you need to use some other methods, since this is not working... |
help me please
The text was updated successfully, but these errors were encountered: