Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 162 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

I'm (attempting) to build an SE chat library in Ruby, since it's one of the few languages that doesn't yet seem to have one (Brainf**k, anyone?).

As part of that, I need to make a request to http://chat.stackoverflow.com/ws-auth to get the URL for a websocket.

This route requires a roomid parameter set to the room ID, and an fkey parameter set to your user fkey.

However, with all of those things set, I get a 404 from the route (and yes, I know it exists - I've checked it with a JS console hit from the browser). I suspect it's because I'm missing a cookie or two. The only cookie I currently have/am sending for chat.stackoverflow.com is .ASPXBrowserOverride, which sounds more to do with ASPX error pages than chat's functionality. I have previously authenticated with Stack Exchange OpenID, and have the usr cookie for that, and with stackoverflow.com (using SE OpenID).

What other cookies do I need to be sending? Is there anything else I need?

share|improve this question
    
You'll need at least the acct cookie as well. If you didn't store that one earlier, you should. And I see one cookie i don't recall: chatusr. – rene 57 mins ago

You must log in to answer this question.

Browse other questions tagged .