The Token is required for each login. Please construct a query string with the following parameters and using GET to send to app.aspx (e.g. xx.sa-api.net/app.aspx.)
Parameter | Description | Required? |
---|---|---|
username | The username display in the client | Y |
token | The token returned from LoginRequest | Y |
lobby | The lobby code we provided, it is to show the correct logo while loading | Y |
lang | Default language to be used in the client. Check in the table below for details | N |
returnurl | Optional parameter The URL will be invoked when the client logs out | N |
mobile | Optional parameter true - Start the client in HTML5 mobile version | N |
h5web | Optional parameter true - Start the client in HTML5 desktop version. It will ignore “h5web” parameter if both h5web and mobile is true | N |
options | Optional parameters to enable feature while entering lobby (URL Encoding will be needed)
Each parameter have to use comma to separate: options=defaulttable=612,hideslot=1,skipslotintro=1 | N |
For example:
Code | Description |
---|---|
zh_TW | Traditional Chinese |
zh_CN | Simplified Chinese |
en_US | English |
th | Thai |
vn | Vietnamese |
jp | Japanese |
id | Bahasa Indonesia |
it | Italiano* |
ms | Malay* |
es | Spanish* |