Hi everyone,
We were looking around the web trying to figure out how to add some framework around our Unity app on Facebook and found it to be quite complex as Facebook creates their own html page that loads Unity apps in an iframe.
However, I was able to write up some scripts to load an external web page and display it above the Unity app. It’s quite useful as a web banner to have external links to your other work or downloads. It could be used to cycle ads as well (with javascript on your html page), but I have no idea if that would violate Facebook’s ToS.
Anyway, here’s a screen shot of one of our games on Facebook that displays a web banner with links for mobile downloads.
Here’s a link to it https://www.assetstore.unity3d.com/#/content/12713 Hopefully, someone will find it useful. Feel free to give suggestions for improvements/features if you like.
thanks,
Derek
