Room chat by 183 flash chat client 35555

This API is used to get the user list of a special room from chat HTTP server Data API name: roomonlineusers(or .xml)Request URL: get parameters:group: group name (eg: group=default)roomid: specify to get which room's user list (eg: roomid=1)These two HTTP get parameters are not obligatory to follow the HTTP request URL.Response Data Attributes Description:name: user's namenickname: user's nickname Java Script Response Data Format:var roomonlineusers=[]; XML Response Data Format: You could use any program language to request the URL: roomonlineusers.xml, and parse the xml response. Response Data Attributes Description:id: unique idname: namemax: max user limitdesc: descriptioncount: current users amountowner: moderator list, split by ","speaker: speaker list, split by ","wm: welcome messagememberonly: whether the unregistered guest has the permission to enter or not.passallmessage: whether to activate the moderated-chat module or not (0 means disabled / 1 means activated.)en: room status is open or close (0 means closed / 1 means opened)st: it determines the room will only be displayed in the avatar chat client, or in the text chat room list as well.

room chat by 183 flash chat client 35555-15

Introduction Java Script XML Query Data API List Get Rooms Data API Request Response Java Script Example XML Example Get Room Online Users API Request Response Java Script Example XML Example Get Online API Request Response Java Script Example XML Example Push Data API List Talk Message API System Message API Broadcast API 123 Flash Chat HTTP Server provides some useful data APIs for the third-party application to invoke data by an HTTP request.

The chat HTTP server enables two types of request and response.

In this way, your dynamic web application can choose to show the local language for specific users in any country.

This parameter helps the flash client to load a specified skin.init_skin in html code will disable the skin value in the because init_skin has a higher priority.

Response Data Attributes Description:cn: chat connectionsln: logon usersrn: chat rooms Java Script Response Data Format:var online =; XML Response Data Format::port/ HTTP get parameters: msg: the message will be send to a room or a user (obligatory, the msg's value couldn't be empty) group: group name (not obligatory, default value is "default") roomid: specify the room will receive the message (not obligatory, default value is "1") username: specify the username who send the message (not obligatory, default value is "admin") destusername: specify the username who will receive the message (not obligatory, default value is null) p: specify the message type, p=0 means public message, p=1 means private message, it must be used with the parameter "destusername" together when p=1 (not obligatory, default value is "0") b: specify whether the message is bold font (not obligatory, default value is "0") u: specify whether the message is underline font (not obligatory, default value is "0") i: specify whether the message is italic font (not obligatory, default value is "0") fontsize: specify the message's font size (not obligatory, default value is "12") fontface: specify the message's font face (not obligatory, default value is "Arial") color: specify the message's font color (not obligatory, default value is "0x000000") Response Success: 0 Error status code meaning: 403: forbidden error, please check your data-api settings in /server/etc/groups/default/404: request parameters error or request API address error, please check your request URL.

Step 1): Web server You must firstly have a web server.There are situations as follows: 1) Host value If the url your flash client used is your hostname, eg. you should use the domain name " yourhostname.com" or other sub-domain-name like chat.as host name.Moreover, the IP address to which this domain name directs to must be the IP address of the server machine on which you've started chat server. You don't have to change this port if you haven't change the port in configuration file The pot value must be in accordance with the one in the For advanced setting, please check You must be very careful about two values in this process, the host value and the port value.

Tags: , ,