I am currently trying to setup the websocket stream within the new Twitch API, I have setup a HTTPS server in node js and I am trying to subscribe to the subscription events stream, I have provided the following as the JSON request
{
"hub.callback" : "https://55.6.234.111:3000",
"hub.mode" : "subscribe",
"hub.topic" : "https://api.twitch.tv/helix/subscriptions/events?broadcaster_id=430215666&first=1",
"hub.lease_seconds": "864000"
}
This isnt my real IP this is just an example, I have portforwarded the port to my computer and have tested the conection from a non local device and it was successful, I have also used postman to test that POST’ing and GET’ing from the server are both working, which both result in a 200 reponse from my node js server. But when I send the subscription request to the Twitch API I get a 202 response but never recieve the GET reponse expected on the node server.