Extension-fbinstant tic tac toe example

i test the game on both pc and messenger it exit when i play my move is this a problem or the game concept like that (after click my move i get DEBUG:SCRIPT: quit)
Extension fbinstant is not supported
INFO:DLIB: Log server started on port 51464
INFO:ENGINE: Engine service started on port 51465
INFO:ENGINE: Defold Engine 1.2.144 (8def4b5)
INFO:ENGINE: Loading data from: build/default
INFO:ENGINE: Initialised sound device ‘default’

ERROR:GAMESYS: Could not retrieve the physics socket ‘@physics’: -6.
DEBUG:SCRIPT: initialize
DEBUG:SCRIPT: start_game
INFO:DLIB: SSDP: Started on address 192.168.1.4
INFO:DLIB: SSDP: Started on address 192.168.204.1
INFO:DLIB: SSDP: Started on address 192.168.222.1
DEBUG:SCRIPT: get_player
DEBUG:SCRIPT: get_signed_player_info 123456fake
DEBUG:SCRIPT:
{ --[[00000000396CABF0]]
status = 200,
response = “{“success”:true,“contextId”:“1957705967580389”,“empty”:false,“data”:”{“players”:[“1647300428673857”,“1647300428673857”],“playerTurn”:2,“gameState”:[[2,1,2],[-1,1,-1],[-1,-1,-1]]}"}",
headers = { --[[00000000396CAD00]]
server = “Cowboy”,
content-type = “application/json; charset=utf-8”,
connection = “keep-alive”,
content-length = “190”,
access-control-allow-origin = “",
via = “1.1 vegur”,
date = “Fri, 28 Dec 2018 22:39:50 GMT”,
x-powered-by = “Express”,
etag = “W/“be-bF+SNb0p1XMEU4PIpIZPRXS7MJY””
}
}
DEBUG:SCRIPT: get_players
DEBUG:SCRIPT: get_signed_player_info {“playerTurn”:1,“gameState”:[[2,1,2],[-1,1,2],[-1,-1,-1]],“players”:[“1647300428673857”,“1647300428673857”]}
DEBUG:SCRIPT: get_player
DEBUG:SCRIPT:
{ --[[00000000396D6BE0]]
status = 200,
response = “{“success”:true}”,
headers = { --[[00000000396D6CA0]]
server = “Cowboy”,
content-type = “application/json; charset=utf-8”,
connection = “keep-alive”,
content-length = “16”,
access-control-allow-origin = "
”,
via = “1.1 vegur”,
date = “Fri, 28 Dec 2018 22:39:53 GMT”,
x-powered-by = “Express”,
etag = “W/“10-oV4hJxRVSENxc/wX8+mA4/Pe4tA””
}
}
DEBUG:SCRIPT: update {“cta”:“Play”,“strategy”:“IMMEDIATE”,“action”:“CUSTOM”,“template”:“play_turn”,“image”:“data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAADElEQVQImWNgoBMAAABpAAFEI8ARAAAAAElFTkSuQmCC”,“text”:“Player 1 played their move”}
DEBUG:SCRIPT: quit

The Tic-Tac-Toe example is typical turn based instant game where you and a friend takes turns making mvoes. When you have made your move the game sends the move (updates the chat context) and exists:

thank you for reply
i have a problem when i upload to messenger and tested moves doesn’t appear to other player…
is there is anyway to make it live i mean without sending messages the two players can see moves live
am new here soory
thank you

Have you also set up a server for the game?

i didn’t try but i can set up a server no problem
i want to know how real-time games like ludo club are work they don’t go out from the game every time to see messages they just saw everything in real-time
could you help me please where to start what libraries i need for multiplayer or instant sdk have everything on it …
thank you

The Facebook Instant Games API does not provide any functionality for realtime multiplayer games. You need a custom backend for that. Colyseus is probably a good option for realtime multiplayer.