Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Embedding Unity webplayer into Facebook canvas

Discussion in 'Editor & General Support' started by arumiat, Dec 27, 2014.

  1. arumiat

    arumiat

    Joined:
    Apr 26, 2014
    Posts:
    321
    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/...tegrate-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
     
  2. Deleted User

    Deleted User

    Guest

    1.Register your account. at www.parse.com
    1. create new app > skip to data browser
    2. choose setting > hosting
    3. enter ParseApp Name (Choose a subdomain where your app will be hosted.)
      • eg: sampleone
    4. below Authentication Settings > enter Facebook application ID & secret
    5. congratulation you have finnish here
    2.Read this https://parse.com/docs/cloud_code_guide
    • In command prompt
    • this is where you can upload you unity3d file
    • the way i'am doing it
      1. type parse new foldername
      2. choose which app (but you must create new app in parse 1st)
      3. C:\Users\MyPC>parse new newapp
      4. enter your Email:
        enter Password: (password will be blank as you type it)
      5. Enter app number from the list: 1 sampleone if you just create only one
      6. copy and place your unitywebplayerbuild.unity3d file into folder public
      7. now type parse deploy in command prompt
      8. congratulation you have finnish upload your unitywebplayer build to your parse account
    3. Go to your facebook app developer dashboard
    1. go to Settings and find Unity Binary URL
    2. paste url https://sampleone.parseapp.com/unitywebplayerbuild.unity3d
    3. 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.
     
    Last edited by a moderator: Mar 30, 2015
    arumiat likes this.
  3. arumiat

    arumiat

    Joined:
    Apr 26, 2014
    Posts:
    321
    Wow thanks, hopefully this will give me a way to adapt this to webGL now!
    Much appreciated