« first day (136 days earlier)      last day (195 days later) » 

9:13 AM
Getting info of a user specific to activity in a room:
POST http://-chatdomain-/user/info
ids: one or a list of ids, separated by comma
roomId: the room
{"users":[{"id":1759128,"name":"ItachiUchiha","email_hash":"4d0672d65c4c17d52272db331f88946c","reputation":6052,"is_moderator":false,"is_owner":null,"last_post":1422692387,"last_seen":1422695537},{"id":1944896,"name":"TheLittleNaruto","email_hash":"!i.stack.imgur.com/UyKE7.jpg?s=128\u0026g=1","reputation":3057,"is_moderator":false,"is_owner":null,"last_post":1422691519,"last_seen":1422695526}]}
Even works for chat users who never entered the room:
{"users":[{"id":2982225,"name":"Infinite Recursion","email_hash":"!i.stack.imgur.com/kdH2k.jpg?s=128\u0026g=1","reputation":3974,"is_moderator":false,"is_owner":null,"last_post":null,"last_seen":null}]}
A easy way to check for rep, mod status, and owner status without digging into the HTML :p
 
Sam
@Unihedro Yeah, that's actualy how CE.Net fetches a user's name/rep/is (owner|mod) data. ;)
 
Oh.
...
 
Sam
Yeah, atm user data is currently isolated to room-level.
@Unihedro Awesome, I didn't know that. :D
 
3
 
Sam
waits in suspense for the next number :O
 
9:34 AM
I'm just doing a quick test if the event that comes through has a different room_id and room_name if I send the edit POST request from a different origin and referer. :P
 
Sam
Oh, and does it?
 
nope.
 
Sam
Not surprising, tbh.
 
On different news, I bought thin crackers as an addition to the current snacks I have.
I know.
 
Sam
:D
 
9:36 AM
Did you see what I asked on Stack Apps chat room? Tim replied to it already.
 
Sam
Erm, just getting to the room...
:O
Awesome!
 
Supposedly, there's only that one public room that supports uploading files though, so not much sandboxing to be done.
 
Sam
Must... resist... urge... to... upload....
 
I think you can delete what you upload, just like bookmarking convos.
Not sure though.
 
Sam
Hmm, maybe it's time for some coughtestingcough
 
9:39 AM
Also, notice a new tab in their room info which is absent on any other.
 
Sam
:O
 
On that note, GlobalNotification: 14 is probably mod/dev only, and TimeBreak: 21 must be that roomfreeze feature.
 
Sam
Yeah, something like that.
 
Is there a request to get the info of a room though, instead of scrapping the info page?
 
Sam
Lemme check...
 
9:44 AM
Maybe one of these times I should send requests to random directories just to see what happens.
 
Sam
fires up fiddler

Room for Uni and Sam

... and whoever that comes across this room. Nothing much real...

Low Quality Posts HQ

Home of bots for catching low quality posts (and sometimes spa...
Hmm, I can't see anything.
 
I'm going to dig thru master-chat.js.
 
Sam
If you don't come back in 24 hours, I'll send a search party.
 
The expanded master-chat.js file is 6369 lines long.
It's full of IDE warnings.
 
Sam
lol
 
9:53 AM
Oh, it's because of the jQuery dollar symbol function.
Strings that seems to hint request'able protocols:
get
/rooms/pingable/ + id
post
/rooms/favourite | fkey, 'ba'
/rooms/timeout/ + 'd' | fkey
/rooms/setfrozen/ + 'e' | fkey
/rooms/setdeleted + 'e' | fkey
 
Sam
:O
 
There's also /rooms/thumbs, but this appears a lot of times, with the post params seemingly random. And /rooms/minilist, which is the thing that triggers moving messages tooltip and new room creation checker.
 
Sam
Cool
stars the messages otherwise he'll probably forget
 
Not even a single line of comment, master-chat.js must be the obfuscated version
 
Sam
Seriously? :/
 
10:07 AM
Oh well, at least I did get a decent bank:
 
Sam
Nice :D
 
Sam
Thanks!
 
Sam
LOL
 

« first day (136 days earlier)      last day (195 days later) »