mirror of
https://github.com/skylanix/MamieHenriette.git
synced 2026-02-06 14:50:34 +01:00
49 lines
1.6 KiB
HTML
49 lines
1.6 KiB
HTML
{% extends "template.html" %}
|
|
|
|
{% block content %}
|
|
<h1>Procédure de configuration de Twitch</h1>
|
|
<p>
|
|
<strong>Avant toute chose, activez l'authentification à deux facteurs (2FA) :</strong>
|
|
<a href="https://help.twitch.tv/s/article/two-factor-authentication?language=en_US" target="_blank">Guide officiel Twitch pour la 2FA</a>
|
|
</p>
|
|
<p>
|
|
Rendez-vous sur <a href="https://dev.twitch.tv/console" target="_blank">la console d'applications Twitch</a> et
|
|
ajoutez une application. Renseignez :
|
|
<ul>
|
|
<li>URL de redirection : https://twitchtokengenerator.com</li>
|
|
<li>Catégorie : Chat Bot</li>
|
|
</ul>
|
|
</p>
|
|
|
|
<img src="/static/img/twitch-api-01.jpg">
|
|
|
|
<p>
|
|
Créez le bot. Puis, de retour à la liste, éditez-le en cliquant sur Gérer. Puis cliquez sur <strong>Nouveau
|
|
Secret</strong>. Vous trouverez ici le <strong>Client ID</strong> et le <strong>Client Secret</strong>.
|
|
</p>
|
|
|
|
<img src="/static/img/twitch-api-02.jpg">
|
|
|
|
<p>
|
|
Ensuite, rendez-vous sur <a href="https://twitchtokengenerator.com/" target="_blank">twitchtokengenerator.com</a> et
|
|
sélectionnez <strong>Custom Scope Target</strong>. Dans la section <strong>Use My Client Secret and Client
|
|
ID</strong>, renseignez les deux champs.
|
|
</p>
|
|
|
|
<img src="/static/img/twitch-api-03.jpg">
|
|
|
|
<p>
|
|
Ensuite, dans la section <strong>Available Token Scopes</strong>, cochez <em>chat:read</em> et <em>chat:edit</em>.
|
|
Puis, dans la même section, cliquez sur <strong>Generate token</strong>.
|
|
</p>
|
|
|
|
<img src="/static/img/twitch-api-04.jpg">
|
|
|
|
<p>
|
|
Suivez la procédure et vous avez votre <strong>Access Token</strong> et <strong>Refresh Token</strong>
|
|
</p>
|
|
|
|
<img src="/static/img/twitch-api-05.jpg">
|
|
|
|
|
|
{% endblock %} |