Closed abhayzonvoir closed 4 years ago
I don't understand why you would put tmi.js in a route handler the begin with. If you want to comminate between a frontend and a backend, you should use a real-time socket like socket.io. Alternatively you could just use tmi.js on the frontend.
I want to show messages on frontend ejs template. How can i do it ? and how can i use tmi.js in frontend ?? I have no tmi.min.js
That's really not a tmi.js question.
How to send tmi js chat data to ejs template ? I integrated all the code in node js twitch api and tmi js and both working in server side(node js) but i want to display chat on frontend using ejs template. how to do it ??
please help me out.
this is my code, i call chats url from ajax from ejs template but i am not getting any response but in console all chats is visible.
router.get('/chats/', function(req, res){
});