I’ve been trying for a few days to figure out how to get this working- I’m using the twurple API for twitch integration, and one thing I want to do is set up a listener for the eventsub stuff.
However, the example prompts me to provide a hostname and an SSL Cert using Glitch, and of all the posts I’ve tried searching on here, I cannot for the life of me figure out how to do that… Any help would be much appreciated, please and thank you!
const listener = new EventSubListener(apiClient, new DirectConnectionAdapter({
hostName: 'example.com',
sslCert: {
key: 'aaaaaaaaaaaaaaa',
cert: 'bbbbbbbbbbbbbbb'
}
}), 'thisShouldBeARandomlyGeneratedFixedString');
await listener.listen();
https://twurple.js.org/docs/eventsub/basic-usage/listening-to-events