question

subsoap avatar image
subsoap asked

Twitch authentication outdated?

https://docs.microsoft.com/en-us/gaming/playfab/features/authentication/platform-specific-authentication/twitch-html5

In the example code this is a 404, I can't find the proper replacement for it.

https://ttv-api.s3.amazonaws.com/twitch.min.js

Authentication
1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

franklinchen avatar image franklinchen commented ·

Thank you for reporting this twitch authentication issue, we are investigating it. We will let you know the progress.

0 Likes 0 ·

1 Answer

·
JayZuo avatar image
JayZuo answered

The Twitch SDK: https://ttv-api.s3.amazonaws.com/twitch.min.js does not exist any more. You can download https://github.com/mariopro/twitch-js-sdk/blob/master/twitch.min.js and put it under the same floder with your html file and modify the following code as a solution.

 <!-- Include Twitch SDK -->
 <script src="https://ttv-api.s3.amazonaws.com/twitch.min.js"></script>

to

 <!-- Include Twitch SDK -->
 <script src="twitch.min.js"></script>
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.