Twitch has its own chat groups, and to check which you are invited at (or created) you can check http://chatdepot.twitch.tv/room_memberships?oauth_token=[your_oauth_token_(w\o_"oauth:")]. And this link works fine with JSON.
And i found an old list of commands to manage this groups via sockets, but only DELETE works fine (each requires oauth_token=[your_token]):
to create: POST https://chatdepot.twitch.tv/rooms?irc_channel={irc_channel}&display_name={display_name}
to modify: PUT https://chatdepot.twitch.tv/rooms/{irc_channel}?public_invites_enabled={public_invites_enabled}&display_name={display_name}
({public_invites_enabled} = 1 or 0)
to invite: POST https://chatdepot.twitch.tv/room_memberships?irc_channel={irc_channel}&username={username}
to delete: DELETE https://chatdepot.twitch.tv/rooms/{irc_channel}

I tried firefox plugin to check headers and requests, which are sent when you use twitch`s own interfce to do this actions, and it looks same, but using sockets i get only "400 Bad Request". So is it possible to recreate browser`s actions via sockets? Maybe i am missing something.


Dont give a fish - teach to fish!