Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by rhzuffo · Aug 20, 2013 at 04:38 PM · facebook

How to publish my game as a facebook app?

Hello,

How do I publish my game on facebook?

What better way to build? Web?

Should have tried to publish it as web. I climbed it on my server and tried to access the address asdfa; slkfjads; lkfjas / jogo.html but could not.

I would like to know the steps I should follow.

Can anyone help me, or send me an example?

Thank you.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

4 Replies

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by yoyo · Aug 20, 2013 at 08:15 PM

A Facebook web app at its simplest is an html page hosted on Facebook. Build your Unity app for the web and then deploy it as a Facebook app.

Here is the basic process:

  1. Create Unity application.

  2. Build a web build. This will generate an html file and a unity3d file. (Note that the html file can be modified to suit your needs, just make sure it loads the Unity build. And of course your users will need the Unity web player plugin installed.)

  3. Host the html and the unity3d file on your web server.

  4. Go to developers.facebook.com/apps (you will need an account) and click the "Create New App" button.

  5. Enter your application information, making sure to set the "Canvas URL" to link to the Unity html file posted in step 3.

There are lots of details I haven't covered, but that should get you started. There is lots of info over at developers.facebook.com.

If you want to communicate between the Unity app and Facebook, the Graph API is the usual way to do so. You can use this from client-side javascript embedded in the html page that also launches your Unity game, or you could use it from within Unity itself via the WWW class. The latter approach requires jumping through some hoops (security, web request/response, etc.) and may be simplified by using a third party Unity add-in for Facebook communication. If you search the asset store for "facebook" there are lots of resources. I expect the better of these also provide information on Facebook publishing.

See also How can I make my Unity application work inside Facebook. A bit out of date, but still relevant.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Ankit Priyarup · Feb 22, 2014 at 04:26 PM 0
Share

I am through with building my android facebook app but i am facing difficulty in submission of app. Please help

avatar image
1

Answer by karmik · Jun 29, 2017 at 02:26 PM

now you dont need any hosting. Facebook will do the hosting for you. Check out the below tut

https://www.youtube.com/watch?v=uUC1lHN4Xmw

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Sylwest-Production · Mar 03, 2016 at 12:10 AM

Thx for your help but I have a problem with the Facebook Canvas URL.

I hosted my game in WebGL in a public folder in GoogleDrive, the game is loading and is working very well when I'm testing it with my browsers (so the hosting is working...).

But in the Facebook Canvas URL, they say : This URL must end with a "/" or have a "?" in the path

The address I want to use is : https://googledrive.com/host/MYAPPID/index.html

(MYAPPID = the series of numbers and letters given by the public link in google drive).

Please could someone help me ?

It's been 10 days I'm trying to publish my game on Facebook and I'm really discouraged....

Thx for your help

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by xZippo · Mar 15, 2016 at 08:48 PM

GoogleDrive is not a web server... you need one to host your game.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

21 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Posting to Facebook wall using HttpMethod.POST unity3D 0 Answers

Rewarding Facebook requests 0 Answers

Facebook SDK - FB.Init throws AuthTokenNullException on Android 1 Answer

Transfer request to application on Facebook 1 Answer

Facebook Post to wall FB.Feed issue in Unity Facebook SDK 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges