[Request] Twitch Chat Integration

Discussion in 'Mod Discussions' started by tripper, January 21, 2014.

  1. tripper

    tripper Active Member

    Messages:
    135
    Likes Received:
    48
    I noticed that Twitch allows you to embed their chat into a webpage or whatever. I wondered if it would be possible to have a mod integrate the Twitch chat into the game.

    Code:
    <iframe frameborder="0" scrolling="no" id="chat_embed" src="http://twitch.tv/chat/embed?channel=<CHANNELNAME>&popout_chat=true" height="500" width="350"></iframe>
    <CHANNELNAME> = replace with actual channel name or variable?

    Could I do it myself? No... no I couldn't.
    cwarner7264, LavaSnake and warrenkc like this.
  2. brianpurkiss

    brianpurkiss Post Master General

    Messages:
    7,879
    Likes Received:
    7,438
    This would be a pretty awesome mod.
    warrenkc likes this.
  3. proeleert

    proeleert Post Master General

    Messages:
    1,681
    Likes Received:
    1,656
    Yes you could it sounds trivial. Actually if @LavaSnake or somebody else hasn't done it untill I'm home, I'll do it :)
    warrenkc, tripper and Clopse like this.
  4. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    Twitch also support IRC. It's sad that 3rd party server required to connect to it though browser. :(

    PS: Just find out that Twitch now using special token for IRC authorization, so I guess it's shouldn't be too bad to ask users to use it on external server. :)
    Last edited: January 21, 2014
  5. LavaSnake

    LavaSnake Post Master General

    Messages:
    1,620
    Likes Received:
    691
    I could do it but I'm a little busy with school right now. I'll try to toss it together in a couple days or over the weekend if no ones done it yet.
  6. proeleert

    proeleert Post Master General

    Messages:
    1,681
    Likes Received:
    1,656
    Meh
    upload_2014-1-21_18-26-1.png

    For some reason it doesn't connect hmmm
  7. ORFJackal

    ORFJackal Active Member

    Messages:
    287
    Likes Received:
    248
    Are you able to log in to Twitch from that chat window? The PA UI is its own web browser, so it can't know whether you are logged in somewhere else - probably it's also isolated from PA's Twitch integration.
  8. proeleert

    proeleert Post Master General

    Messages:
    1,681
    Likes Received:
    1,656

    Attached Files:

    LavaSnake likes this.
  9. zaphodx

    zaphodx Post Master General

    Messages:
    2,350
    Likes Received:
    2,409
  10. abubaba

    abubaba Well-Known Member

    Messages:
    501
    Likes Received:
    385
  11. proeleert

    proeleert Post Master General

    Messages:
    1,681
    Likes Received:
    1,656
    He was planning too :)

    Would be great cause I have issues with the iframe. Twitch Chat has some flash stuff in it so don't work properly.
  12. cptconundrum

    cptconundrum Post Master General

    Messages:
    4,186
    Likes Received:
    4,900
    Yes, twitch chat integration was working in the build meta just showed off yesterday.
  13. napperjabber

    napperjabber New Member

    Messages:
    20
    Likes Received:
    1
  14. proeleert

    proeleert Post Master General

    Messages:
    1,681
    Likes Received:
    1,656
    Ah not going to do any work on this anymore. It will be done by the devs via the twitch api directly in game which is way better :)
    cwarner7264 and Clopse like this.
  15. Clopse

    Clopse Post Master General

    Messages:
    2,535
    Likes Received:
    2,865
    Thankful for the effort.
  16. zaphodx

    zaphodx Post Master General

    Messages:
    2,350
    Likes Received:
    2,409
    Umm please no. I can't stream at 3500kbs 720p with no overlays or stream control via using ingame twitch. Copy their implementation or something but this is still a needed mod imo.
  17. proeleert

    proeleert Post Master General

    Messages:
    1,681
    Likes Received:
    1,656
    Actually it works with obs too.
    That's what meta was using to stream his last game.
    Then he enabled the twitch chat in game but didn't enable the twitch streaming in game.
    So he just went into settings > twitch entered his credentials and in dropdown box didn't enable streaming.

    So I think pretty much all use cases are covered in standard implementation.
    zaphodx and cptconundrum like this.

Share This Page