Detect if WebGL is on Facebook canvas
Hi
Im currently facing an issue where I am using the Facebook plugin v.7.1.0 for Unity. Im distributing through WebGL, but my app needs to be running both on Facebook, but also outside Facebook. When using FB.Init I get a successful callback, which is what I used to use for testing whether on Facebook canvas or not when deploying for WebPlayer.
So my question is, how do I detect whether the WebGL player is on the facebook canvas or not?
Answer by zzzzzz789 · Oct 30, 2015 at 09:16 PM
See answers here: https://stackoverflow.com/questions/32989963/how-to-detect-if-webgl-is-on-facebook-canvas
Your answer
Follow this Question
Related Questions
webgl + Facebook Canvas not working 0 Answers
Unity WebGL stuck on "0% Loaded" in Facebook instant games 1 Answer
Facebook.Unity.Gameroom.dll was not registered 6 Answers
How to add multiplatform ads 0 Answers
Didn't loading facebook instant game 0 Answers