Advanced Web Page Integration

 

Here is an example for both login and join:

webapi_example_server.html

(please replace all occurences of localhost with your server address)

You can enter your ISL Online products username and password in the top section and click Login. If the username/password combination is valid, you will be logged in and taken to the islonline.net product page. In case the username/password combination is not valid, you will see an error in red.

Your customer can enter the session code in the bottom section and click Join. If the provided session code is not valid, you will see an error in red. If the session code is valid, you will see the name of the supporter next to the session code and a Start button. If you click the Start button, it will start ISL Light Client and connect to the session with the provided session code.

Please note that this is just a basic example to demonstrate main principles of using webapi, you can modify it to suit your needs.

For most use cases you do not need to put the login part on your webpage (at least not next to the join part), so we prepared a separate example with just the join form. If a customer enters an invalid session code, an error is shown in red frame. If the customer enters a valid session code, a notification is shown in green frame and the download of ISL Light Client with that session code is started automatically (if a customer uses Internet Explorer, another button is shown and needs to be clicked in order to start the download).

webapi_example_join_server.html

You can check the webapi source for detailed information:

http://localhost/webapi/api.js?libs=join,login&readable=1

Was this article helpful?