Embedding Unity webplayer into Facebook canvas

Hi guys,

I’d like to embed the Unity webplayer into a facebook canvas, - this is just to use as a showcase of some content and for users to test that they can actually get the webplayer running on their computers successfully. I don’t need to worry about any fancy integration, I’d just like for it to appear on my business homepage and users to interact with it as normal.

http://stackoverflow.com/questions/14021761/how-to-upload-integrate-unity-web-player-game-to-facebook-app

I’ve read a few threads but so far haven’t been able to get it to work. Anyone have any experience with this?

Thanks in advance,
A

1.Register your account. at www.parse.com

  • create new app > skip to data browser

  • choose setting > hosting

  • enter ParseApp Name (Choose a subdomain where your app will be hosted.)

  • eg: sampleone

  • below Authentication Settings > enter Facebook application ID & secret

  • if you don’t know how to create Fb ID & secret

  • Facebook

  • click skip and create app ID.

  • please choose wisely your namespace as this will be the subdomain name on canvas page

  • eg: mycanvaspage

  • congratulation you have finnish here

2.Read this Parse Platform

  • if you are using windows please download this file

  • Parse Platform

  • and place it into *C:\Windows\System32*

  • start > Run > cmd to open command prompt

  • In command prompt

  • this is where you can upload you unity3d file

  • the way i’am doing it

    • type parse new foldername
  • choose which app (but you must create new app in parse 1st)

  • C:\Users\MyPC>parse new newapp

  • enter your Email:
    enter Password: (password will be blank as you type it)

  • Enter app number from the list: 1 sampleone if you just create only one

  • copy and place your unitywebplayerbuild.unity3d file into folder public

  • now type parse deploy in command prompt
  • congratulation you have finnish upload your unitywebplayer build to your parse account
  1. Go to your facebook app developer dashboard
  • go to Settings and find Unity Binary URL
  • paste url https://sampleone.parseapp.com/unitywebplayerbuild.unity3d
  • you are finnish here

4.Finally view your finnish app at facebook canvas page (only you can view this, please add tester later)

p/s : Please pay attention to bold text.

1 Like

Wow thanks, hopefully this will give me a way to adapt this to webGL now!
Much appreciated