GithubHelp home page GithubHelp logo

Comments (16)

AlcaDesign avatar AlcaDesign commented on May 20, 2024

I think they're changing servers or something. Have a look at TwitchStatus.com

from tmi.js.

Schmoopiie avatar Schmoopiie commented on May 20, 2024

https://discuss.dev.twitch.tv/t/notice-of-upcoming-changes-websockets-and-secure-connections/2269/24

I'm trying to keep them up to date on our API but as far as I know, the group chat servers don't have any websocket servers listed on the Twitch API at this time.

from tmi.js.

celluj34 avatar celluj34 commented on May 20, 2024

If there were only an API for available chat, event, and group servers...

from tmi.js.

AlcaDesign avatar AlcaDesign commented on May 20, 2024

There's the chat_properties endpoint, but not quite what we need .. Also, looking at that, anyone know what "..._pct" is?

from tmi.js.

Schmoopiie avatar Schmoopiie commented on May 20, 2024

They are but for the group chat servers you need an oauth_token, this is why I prefer to have a custom API 😄

http://chatdepot.twitch.tv/room_memberships?oauth_token=YOUR_TOKEN

from tmi.js.

Schmoopiie avatar Schmoopiie commented on May 20, 2024

There is http://tmi.twitch.tv/servers?cluster=group but I don't know if it's reliable.. some servers are listed there and aren't on the other endpoint..

from tmi.js.

AlcaDesign avatar AlcaDesign commented on May 20, 2024

How do you know of these endpoints? ResidentSleeper

from tmi.js.

Schmoopiie avatar Schmoopiie commented on May 20, 2024

I have no life sorry :(

from tmi.js.

AlcaDesign avatar AlcaDesign commented on May 20, 2024

Are they in some discussions some places or do you just guess around?

from tmi.js.

Schmoopiie avatar Schmoopiie commented on May 20, 2024

I use the Network tool (CTRL+SHIFT+J and click Network) from Chrome and check what API endpoint is being used when browsing Twitch

from tmi.js.

AlcaDesign avatar AlcaDesign commented on May 20, 2024

They need to unify their APIs and crap .. How does anyone keep track? Also, you should tell me everything you know.SoonerLater

from tmi.js.

macharborguy avatar macharborguy commented on May 20, 2024

thanks for the info, i restarted our bot and it was able to get back into the server. ill keep an eye on our log file just in case things go down again. and thanks as well for the twitch stats website link!

and yeah, their API all over has holes in it. still cannot believe they wont let you get more than the most recent 1600 follower names. now i have to check each and every chat user who logs into our channel and see if they are following or not so i can give their name in our chat widget a special follower icon.

from tmi.js.

Schmoopiie avatar Schmoopiie commented on May 20, 2024

No idea, but as far as I know, tmi.twitch.tv is always subject to change so we cannot rely on these endpoints.. that is why I'm working on my own API for tmi.js, anyways, I have to go to work now, see you guys tomorrow 😄

from tmi.js.

AlcaDesign avatar AlcaDesign commented on May 20, 2024

Have fun on the night-shift DendiFace

from tmi.js.

xhip avatar xhip commented on May 20, 2024

I backup "servers.js" and removed all the "off" servers, looks like a temporary fix for now... the only "ws_irc" online is "192.16.64.205 (Port 80)" but thing may change...

from tmi.js.

Schmoopiie avatar Schmoopiie commented on May 20, 2024

I will close this issue because it is fixed, I will keep an eye on their websocket servers this weekend just in case they are doing some IP rotations.

@xhip You shouldn't have to do this actually, the library queries http://www.tmijs.org/api/servers/ to update the hardcoded servers and if for some reasons our API doesn't work, then it's going to use the default hardcoded servers. It wasn't working before because the API wasn't updated with the new servers, but now everything should be okay 😄

If you guys see some changes before I do, reply in this issue and I will reopen it.

Thanks!

from tmi.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.