i have put some print commands to the source code and it’s not display when app run on the messanger.
every time i tried i got following lines as result
03-18 14:55:35.248 4739 4739 I chromium: [INFO:CONSOLE(1)] “FBInstant inited”, source: https://apps-283910812292555.apps.fbsbx.com/instant-bundle/2023027271084148/2786256151392260/oombi_asmjs.js (1)
03-18 14:55:36.353 4739 4739 I chromium: [INFO:CONSOLE(0)] "Refused to frame ‘https://staticxx.facebook.com/’ because it violates the following Content Security Policy directive: “frame-src ‘self’ blob:”.
03-18 14:55:36.353 4739 4739 I chromium: ", source: https://apps-283910812292555.apps.fbsbx.com/instant-bundle/2023027271084148/2786256151392260/index.html?version=154&psev=1&gcgs=1 (0)
03-18 14:55:37.270 4739 4739 I chromium: [INFO:CONSOLE(1)] “Running…”, source: https://apps-283910812292555.apps.fbsbx.com/instant-bundle/2023027271084148/2786256151392260/dmloader.js (1)
03-18 14:55:37.314 4739 4739 I chromium: [INFO:CONSOLE(1)] “”, source: https://apps-283910812292555.apps.fbsbx.com/instant-bundle/2023027271084148/2786256151392260/dmloader.js (1)
03-18 14:55:37.581 4739 4739 I chromium: [INFO:CONSOLE(1)] “WebGL: INVALID_ENUM: getParameter: invalid parameter name”, source: https://apps-283910812292555.apps.fbsbx.com/instant-bundle/2023027271084148/2786256151392260/oombi_asmjs.js (1)
03-18 14:55:37.582 4739 4739 I chromium: [INFO:CONSOLE(1)] “WebGL: INVALID_ENUM: getParameter: invalid parameter name”, source: https://apps-283910812292555.apps.fbsbx.com/instant-bundle/2023027271084148/2786256151392260/oombi_asmjs.js (1)
03-18 14:55:37.631 10154 10169 I chromium: [INFO:audio_latency.cc(136)] audioHardwareBufferSize = 3844
According to those lines, I notice two things
Refused to frame ‘https://staticxx.facebook.com/’ because it violates the following Content Security Policy directive: “frame-src ‘self’ blob:”.
and
“WebGL: INVALID_ENUM: getParameter: invalid parameter name”, source: https://apps-283910812292555.apps.fbsbx.com/instant-bundle/2023027271084148/2786256151392260/oombi_asmjs.js
please kindly help me.
I also attached the source files
i have used collection proxy to hadle two collection.when the game start following code run’
loader.script (2.5 KB)
after fbinstant.start_game() success, the game login collection load and it contain login gui and it’s script
game login script
gamelogin.script (691 Bytes)
GUI script inti function include the following lines
print("login page gui init() start")
msg.post(".", "acquire_input_focus")
print("login page gui init() end")
you can reproduce error using messanger(android) with following link https://www.facebook.com/instantgames/283910812292555 or just search oombi in facebook messanger