Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
6.8k views
in Technique[技术] by (71.8m points)

Does the YouTube API have a webhook or a socket? Notify me when there is a new comment? [cerrada]

I have developed a program with the youtube api that get all the live chat (Message in live of youtube)

Now, I am looking for that every time there is a new message in the live chat,

This is because I want to create a bot so that when someone puts "Twitter!" the bot responds with my twitter.

Since I couldn't find a stream of the new messages, what I did was get the messages. And then get them back in 10 seconds. And then select the messages that you had not obtained before


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...