Unity exporter working with facebook instant ADS

Hi everyone. I recently followed the babylonjsToolkit getting started guide, and everything went ok. I originally started using babylonjs for Facebook Instant Games. So to enable Facebook Instant Games, inside the Unity editor I went to Project Window >> Assets >> Babylon >> Template >> Config, and I edited the game.html file like this How to use Babylon.js in a Facebook Instant Game - Babylon.js Documentation
Thankfully everything worked fine, and now I want to load ADS using Facebook Instant Game when clicking on a button inside my scene. However, I don’t know how to access FBInstant since it’s declared in the game.html, and my scenes/gameobjects do not know about.
I want to know how to call Facebook Instant Games SDK inside the editor and interact with it.

Please help me. I really have no idea on how to do it. Thanks in advance

1 Like

pinging @MackeyK24

I was thinking bout integrating the Facebook Games with toolkit…,

Is there anyway you can make a vanilla project with the Facebook stuff and changes you made to game.html

Just package it up as a .unitypackage and send to me… I will take a look at adding support right into toolkit