Skip to content

Twitting the tracks

François LASSERRE edited this page Jan 31, 2015 · 2 revisions

DeeFuzzer can automatically tweet the current played track with some metadata to access to the stream.

Please first install some dependencies:

    sudo pip install oauth2 python-twitter python-oauth2
    sudo pip install 

As Twitter access requires oauth keys since 07/2010, you need to get your own access token key pair. Please run the dedicated script to do this from the main deefuzzer app directory:

    python tools/get_access_token.py

You will be invited to copy/paste an URL in your browser to get a pin code. Then copy/paste this code into the console and press ENTER. The script gives you a pair of keys: one access token key and one access token secret key.

Change the <twitter> block options in your deefuzzer XML config file, giving the 2 keys. For example:

    <twitter>
            <mode>1</mode>
            <key>85039615-H6yAtXXCx7NobF5W40FV0c8epGZsQGkE7MG6XRjD2</key>
            <secret>A1YW3llB9H9qVbjH8zOQTOkMlhVqh2a7LnA9Lt0b6Gc</secret>
            <tags>Music Groove</tags>
    </twitter>

Your DeeFuzzer will now tweet for you :)