Board Thread:Support Requests - Getting Technical/@comment-3445072-20130104194232

Recently I have been setting up a chat bot using python, it can connect and read messages fine and not timeout. Then I'm left with one problem. Posting messages. Looking at the network tab, instead of GET it's POST, there's also a strange request payload, for example, one being (of course without the line breaks):

5:::{"name":"message","args":["{\"id\":null,\"cid\":\"c366\",\"attrs\": {\"msgType\":\"chat\",\"roomId\":8,\"name\":\"Hairr\",\"text\":\"This is a test message.\",\"avatarSrc\":\"\",\"timeStamp\":\"\",\"continued\":false,\"temp\":false}}"]}

This has left me confused on how to embed this into the xhr-polling post url, if that's even the correct thing to do, along with the other required data. Looking around the wikia network, there are few people I know who have knowledge of chatbots that are made using python, C, java, etc. The only one I know of is Sactage, who hasn't returned any of my memo's on memoserv or answering my questions on IRC, as it seems he's away most of the time. I also tried asking Wikia, but redirected to asking someone else or coming here to the forums, as engineers "won't have the time" to help with this simple request. I'm not sure how many users will know something like this as the technical aspects of chat have never been told to the user database. 