User Follows Webhook -- Update

You might be running into the same problem I had initially.

Make sure that if your request looks like this

https://api.twitch.tv/helix/webhooks/hub
?hub.mode=subscribe
&hub.topic=https://api.twitch.tv/helix/users/follows?first=1&to_id=1337
&hub.callback=https://yourwebsite.com/path/to/callback/handler
&hub.lease_seconds=864000
&hub.secret=s3cRe7

That you’re escaping the ampersand in the topic as such

https://api.twitch.tv/helix/webhooks/hub
?hub.mode=subscribe
&hub.topic=https://api.twitch.tv/helix/users/follows?first=1%26to_id=1337
&hub.callback=https://yourwebsite.com/path/to/callback/handler
&hub.lease_seconds=864000
&hub.secret=s3cRe7

or your request is actually doing this:

https://api.twitch.tv/helix/webhooks/hub
?hub.mode=subscribe
&hub.topic=https://api.twitch.tv/helix/users/follows?first=1
&to_id=1337
&hub.callback=https://yourwebsite.com/path/to/callback/handler
&hub.lease_seconds=864000
&hub.secret=s3cRe7
1 Like