Thank you very much, everything works. I had a few more questions:
-
So for every event, I have to send new requests? For follower
'hub.topic' = 'https://api.twitch.tv/helix/users/follows?first=1&to_id=******** http://mysite.com/twitch.webhookfollow.php
To notify the streamer?
https://api.twitch.tv/helix/streams?user_id=******** http://mysite.com/twitch.webhookstream.php
Or perhaps somehow specify the query to receive all events? -
The connection will operate 10 days, after which it will stop working right? So you have to put the update on cron, or is the connection not lost?
-
https://api.twitch.tv/helix/users/follows?first=1&to_id=********we receive information about all new followers, and is it possible to also receive notifications about all unfollowers? Thanks for your help.