Sophie

Sophie

distrib > Mageia > 7 > armv7hl > by-pkgid > 5de8ebba6a122a0fb772961a72613518 > files > 465

python-livestreamer-1.12.2-6.mga7.noarch.rpm

.. _twitch_oauth:

Twitch OAuth authentication
===========================


.. raw:: html

    <!-- Some themes include jquery after our code... -->
    <script type="text/javascript" src="_static/jquery.js"></script>
    <script type="text/javascript">
        $(function() {
            var el = $(".highlight");
            var params = (window.location.hash.substr(1)).split("&");

            for (i = 0; i < params.length; i++) {
                var keyval = params[i].split("=");

                if (keyval[0] == "access_token")
                {
                    el.html('<pre>twitch-oauth-token<span class="o">=</span>' + keyval[1] + '</pre>');
                }
            }
        });
    </script>


You successfully authenticated Livestreamer with Twitch.

Paste this into your :ref:`configuration file <cli-livestreamerrc>`:

.. code-block:: bash

    twitch-oauth-token=