Deep Bot - Twitch Streamer Assistant
Deep Bot => Help/Support => Topic started by: nxnsamy on March 09, 2018, 07:16:59 AM
-
Hello,
I use the version 0.11.1.0.
To add users informations in the database in a webpage, I made tests with the script at the url 'http://deepbot.tv/player/YouTubePlayerv8.html?ip=' It works correctly, I can command the music playing from/to the bot. I copy the script to a local page to made additionnal tests and add console.log(evt.data) to see every messages which send by the bot. With the debugging tools of firefox, if I execute the command 'ws.send('music|stateChange|2') the player is pause correctly but if I execute ws.send('api|register|xxxxxx') no message is receive. Can you help me ?
Do you know if the api work only depend on the registration status (beta licence/vip) ?
Thanks in advance.
-
Are you using the information from this page: https://github.com/DeepBot-API/client-websocket
-
Yes, i done this to have an error message from the websocket server of deepbot:
I push the play button on deepbot interface then I refresh the youtubePlayerv8.html witch contain :
ws.onopen = function() {
wsState = 1;
ws.send('music|stateChange|2');
ws.send('api|register|xxxxxx');
};
The player in the deepbot interface change status to "pause" correctly and nothing is receive by my debugger after sending the api register command
Do you need any additional informations to help me ?
-
Any idea of the issue ?