mirror of
https://github.com/skylanix/MamieHenriette.git
synced 2026-02-15 04:30:37 +01:00
draft twitch bot
This commit is contained in:
45
webapp/templates/twitch-aide.html
Normal file
45
webapp/templates/twitch-aide.html
Normal file
@@ -0,0 +1,45 @@
|
||||
{% extends "template.html" %}
|
||||
|
||||
{% block content %}
|
||||
<h1>Procedure configuration de Twitch</h1>
|
||||
<p>
|
||||
Rendez vous sur <a href="https://dev.twitch.tv/console" target="_blank">la console d'application twitch</a> et
|
||||
ajouter une application. Renseigner :
|
||||
<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>
|
||||
Creer le bot. Puis de retour à la liste, editer le en cliquant sur Gérer. Puis cliquer sur <strong>Nouveau
|
||||
Secret</strong>. Vous trouvez ici le <strong>Client ID</strong> et <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
|
||||
selectionner <strong>Custum Scope Target</strong>. Dans la section <strong>Use My Client Secret and Client
|
||||
ID</strong>, renseigner les deux champs.
|
||||
</p>
|
||||
|
||||
<img src="/static/img/twitch-api-03.jpg">
|
||||
|
||||
<p>
|
||||
Ensuite dans la section <strong>Available Token Scopes</strong>, cocher <em>chat:read</em> et <em>chat:edit</em>.
|
||||
Puis, dans la même section, cliquer 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 %}
|
||||
Reference in New Issue
Block a user