Hello everyone!
Quick question:
Is there a way for the extension (frontend) to determine if it’s running on “hosted test” or actual live, “published”?
Reason is:
I’d like to have my frontend to talk to my staging EBS rather than the production/live one when running on “hosted test”.
Thanks,
-Michael
Altoar
April 13, 2018, 2:43pm
2
Hey, yes that’s possible by checking the url query parameter “state”.
See here https://dev.twitch.tv/docs/extensions/reference/#client-query-parameters
Ah, stupid me, how did I miss that…
Thanks a lot!
Seravy
April 18, 2018, 2:35am
4
That being said, that state is on the viewer but not on the live config (dashboard).
Really looking forward to that and theme to get passed into the dashboard config.
xzion
April 18, 2018, 3:27am
5
Yeah this is a pain for me too. Would appreciate if the live dashboard got sent the state as well.