AnD4D's Recent Forum Activity

  • SUB EVENT: WEBSOCKET, On connection opened

    ACTION: WEBSOCKET, send text = "PASS "&"USERNAME" (yes you need the spacing)

    ACTION: WEBSOCKET, send text = "NICK "&"TOKEN" (yes you need the spacing)

    ACTION: WEBSOCKET, send text = "JOIN "&"#USERNAME" (yes you need the spacing and #)

    Isn't PASS followed by the Oauth token, and the NICK followed by the username???

    From Twitch:

    < PASS oauth:<Twitch OAuth token>

    < NICK <user>

    I can't seem to be able to send messages to my channel. I'd have thought I'd need to actually provide my account's username and password.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I wonder if I can post messages with the current setup I have.

    you interested in sharing details so we can expand upon the Twitch integration?

    I have mine completely controlling my Twitch overlay, even allowing people to cross chat between channels, calling up mini-games to play on screen via the chat and even challenging the streamer :D

  • Ahh, I see... so it's not possible if I try to access it using a domain. It would work with an offline program however.

    That's a shame. Well, at least I have an answer now.

  • Really? That's odd... when I type it in, I either get a 404 message or nothing at all.

    https://1drv.ms/u/s!Am3CPIM7woZ9grMdEu3eWyEyGHniOA

    Ashley is there a reason why this only appears to work with Preview browser = NW.js?

    I'm trying to use it on a website. I'm able to access all sorts of other data.

  • Really? That's odd... when I type it in, I either get a 404 message or nothing at all.

    https://1drv.ms/u/s!Am3CPIM7woZ9grMdEu3eWyEyGHniOA

  • The thing I'm stuck on now is grabbing the data from viewers.

    Typing in tmi.twitch.tv/group/user/and4d/chatters into a browser works fine... but when I try to feed it into AJAX nothing appears at all.

    Can't quite figure out why not.

    It's nice to know someone else is going down the same path I am.

  • Actually, I couldn't quite figure that part out, but I had Twitch integrated with a Chatbot, which would post a notification upon follow or sub. I'd search for those words, then I could see when someone had donated by purely looking at the chat :)

  • Yeah, that's pretty much exactly how I did it. Wasn't easy figuring out a way to get it to convert to JSON so I could then pick it apart in a dictionary or an array.

  • I've been working on this for the past month. My entire overlay was created using Construct 2, and is pretty much fully integrated with Twitch. I can imagine it'd be just as easy to do this with Construct 3.

    My game on Steam also has Twitch integration.

  • Is there a particular reason why you can do iframes in Construct 3, but not Construct 2?

    I've seen plugins for c2, but they all appear to be dead.

  • I use the AJAX plugin to grab this data super easily:

    "https://api.twitch.tv/helix/users?login="&TwitchAlias

    so long as I use the header given to me by Twitch.

    I can also grab information taken from php databases, etc...

    HOWEVER, when I try to grab THIS data: tmi.twitch.tv/group/user/and4d/chatters

    Nothing comes through at all. As far as I know, because I can simply open that link in a browser, it should work perfectly fine. I mean, I open up the php database, and it'll display fine, both in a browser and in the AJAX Last Data.

    When I try to access tmi.twitch.tv/group/user/and4d/chatters I get nothing at all.

    Can anyone help? My Twitch Integration has been working great, but this is quite the wall I've hit.

  • The download link doesn't work for me. Is it down for anyone else?

AnD4D's avatar

AnD4D

Member since 4 Nov, 2011

Twitter
AnD4D has 3 followers

Connect with AnD4D

Trophy Case

  • 13-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

21/44
How to earn trophies