# Integertion of lichess websocket using Javascript using web viewer

**URL:** <https://community.thunkable.com/t/integertion-of-lichess-websocket-using-javascript-using-web-viewer/3669397>\
**Category:** Questions about Thunkable X\
**Created:** [March 18, 2025, 11:47pm UTC](https://community.thunkable.com/t/integertion-of-lichess-websocket-using-javascript-using-web-viewer/3669397 "2025-03-18T23:47:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alvaelectronics8ve7r](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@alvaelectronics8ve7r](https://community.thunkable.com/u/alvaelectronics8ve7r)\
**Post date:** [March 18, 2025, 11:47pm UTC](https://community.thunkable.com/t/integertion-of-lichess-websocket-using-javascript-using-web-viewer/3669397/1 "2025-03-18T23:47:57Z")

</div>

Hi , I am a beginner.  
I want to integerate Lichess WebSocket events using javascript using webviewer .  
// I want to implement this : [WebViewer1.PageLoaded]

- Inject JavaScript to detect moves:

````javascript
lichess.socket.on("move", (moveData) => {  
  Android.notifyMove(moveData.from + "," + moveData.to);  
}); //
``` as blocks on thunkable . Could you guide me on how to implement it as i am new to thunkable ?
````

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [June 16, 2025, 11:48pm UTC](https://community.thunkable.com/t/integertion-of-lichess-websocket-using-javascript-using-web-viewer/3669397/2 "2025-06-16T23:48:28Z")

</div>

Closed on June 16, 2025, 11:48pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
