Team-TAU / tau

TAU- Twitch API Unifier, a containerized relay/proxy to unify the WebHook- and WebSocket-based real-time Twitch APIs under a single (local) WebSocket connection.
MIT License
149 stars 38 forks source link

[BUG] follows not registering as events #136

Closed matthewbrandt closed 10 months ago

matthewbrandt commented 10 months ago

Describe the bug When a channel receives a follow, there is no event being received in TAU.

To Reproduce Steps to reproduce the behavior:

  1. Auth TAU for channel.follow permission
  2. Click the follow button on the Twitch profile (using another account that isn't following currently)
  3. See nothing appear in TAU

Expected behavior A channel-follow event should be registered in TAU.

Screenshots n/a

Deployment: Deployed on Railway. Forked repository is fully up to date with TAU/main.

Additional context Test follows work fine. I have a channel goal for follows and that one is updating too. So it's literally the channel.follow endpoint causing some kind of issue. Too deep in there for me to figure out, but i see that some stuff is required for the v2 that might not have been for v1. Was updated in September with this PR: https://github.com/Team-TAU/tau/commit/2d1c3cb0eecca531ba42664c751e1903fd6f8cf6

matthewbrandt commented 10 months ago

@cgsdev0 do you have any idea why your PR might not be working? I tried debugging more but am lost :/

cgsdev0 commented 10 months ago

i had to like, reset all the webhooks and re-register them in the TAU dashboard i think

matthewbrandt commented 10 months ago

@cgsdev0 oh i see! in the TAU webhooks monitor I don't even know how to reset these, as clicking these 3 buttons on the bottom doesn't change anything. is there a guide somewhere on this? Screenshot 2023-11-11 at 00 02 50

cgsdev0 commented 10 months ago

ok i thiiink i just toggled the channel.follow one on and off a bunch of times and clicked the update button a bunch

i really don't remember :S

matthewbrandt commented 10 months ago

@cgsdev0 you were right. I forcefully click around in my local TAU instance and then pushed it to my server-hosted instance on Railway and it magically started working again 🎉 I'll go ahead and close out this ticket, as it just seems to be an initialisation problem...