I’m attempting to test a discord bot and have it currently loaded up on my local machine - it uses an express server to handle webhook notifications. My question is, is it possible to run this on my local machine and still be able to send/receive requests from the twitch api? Am I allowed to use localhost:<portnumber>
in a hub.callback
like this? If not, is there some other way to test webhook subscriptions/access on a local machine?
'hub.mode': 'subscribe',
'hub.lease_seconds': 600,
'hub.topic': `https://api.twitch.tv/helix/streams?user_id=${id}`,
'hub.callback': `https://localhost:port/twitchwebhooks/streams/${id}`,
'hub.secret': config.hub_secret