PHP web soket : receiving only time feed mw/sfi/dp are not working
-
hi i am trying to get websoket feed using php javascript but the reply for the server is only time feed even if i send mw
please look into it and do the needfull.```
<script src="https://cdnjs.cloudflare.com/ajax/libs/pako/1.0.11/pako_inflate.js"></script>
<script src="socket.js"></script>
<script type="text/javascript">var ws =new websocket('DIYD25731', <?php echo(json_encode($jwttoken)); ?>); //connect to server ws.connection().then(() => { ws.runScript("nse_cm|2885", "mw"); setTimeout(function () { ws.close() }, 6000) });
//add callback method where you can manipulate socket data
ws.on('tick', receiveTick);//user defined function function receiveTick(data) { //console.log(data); data = JSON.parse(data); if (data) { console.log(data); } else{ console.log("No data @" + new Date().toLocaleString()); } }
</script>
... i am receiving following response if i post mw
[
{
"tvalue": "07/06/2021 14:53:15",
"name": "tm"
}
] -
HI @girish-gss Are you still facing the issue ..?
- topic:timeago_earlier,21 days
-
i am using php scripts with javascript
-
@admin nothing is changed in your websoket api details on your website if i get the new thing i can update it
-
HI @girish-gss which version of sdk you are using.
-
@admin yet i am getting the time feed only
-
HI @girish-gss This issue has been resolve.Let us know if you have any other issue.
-
@admin
dear admin its already 6 days since i reported dont you people have any time frame to solve the issues...! -
HI @girish-gss Our team is working on this once fixed we will inform you.
-
@admin
is their any update its already 4 days -
How much time it may take to solve the problem?
-
Hi @girish-gss As discussed on the call we have reported this issue and we will update you on this.