Twasi / twasi-core

Core application and backend of the Twasi chatbot for Twitch.
MIT License
19 stars 4 forks source link

Reflinks #20

Open Laraakaa opened 6 years ago

Laraakaa commented 6 years ago

We use the Twasi-URL-Shortener for Ref-Links. Every Twasi user can have it's own Ref Link. It's formed like this: https://twa.si/ref/[twitchname], for example https://twa.si/ref/blechkelle. Upon visiting such a link, you get redirected to the panel with a GET-Parameter ref set.

For example: https://panel.twasi.net/?ref=blechkelle

The frontend will then save the referer in local storage. The latest referer will then be prefilled in the "referer" text field in the setup. The name can be changed of course, but the referer has to be registered at twasi.