In preparation for moving Webhooks into General Availability, we did a full audit to ensure we comply with the WebSub specification. There was one major deviation still unresolved: the User Follows webhook.
As of this week, the User Follows webhook has been corrected to fully comply with the WebSub spec. The documentation has been updated here.
Interesting Changes
Firstly, the topic string has changed:
Before: https://api.twitch.tv/helix/users/follows?to_id=1337
After: https://api.twitch.tv/helix/users/follows?first=1&to_id=1337.
Secondly, the notification payload has been updated to match the Helix payload. No longer do you need separate data models for Helix and Webhooks!
Please update your subscriptions!
Note that during this transition, the older User Follows webhook will still be available. All subscriptions that used the older webhook model are functioning as normal.
We’ll deprecate the older User Follows webhooks in one month. Please take the time to do your migrations thoughtfully, and let us know if there’s anything we can do to help.
Nice that you are consistent with your api now.
But… the new topic isnt working for me at the moment.
I just get BadRequests back.
Changed back to the old topic and its working again.