Facebook Instant Games Typescript

Facebook Instant Games Typescript
0.0 0


Hey everyone!

I’m interested in writing a Facebook instant game in Cocos Creator using Typescript but I can’t seem to import the Facebook instant API or use it in any way. I was wondering if I’m doing anything wrong or how I could get this working? Is Cocos creator missing support for Instant Games and typescript?



window[‘FBInstant’] is only available after you load it from you index.html and once inside the messenger app.