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
12
Question by Rob · Oct 21, 2009 at 09:57 PM · facebook

How can I make my Unity application work inside Facebook?

I'd like to embed my Unity application inside Facebook. Can someone tell me the best way of doing that?

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
8
Best Answer

Answer by AngryAnt · Oct 22, 2009 at 08:47 AM

Integrating with facebook requires some knowledge of the facebook API and some external calls (JavaScript communication between webplayer and its container webpage). The guys from CMUNE are giving a talk about how to accomplish this at Unite '09, so that is definitely worth checking out. If you do not plan on attending Unite then video recordings of the sessions will as always be available at some point after Unite.

If you feel like jumping in right now, you should read up on communicating with a website and the facebook API.

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
8

Answer by flaminghairball · Oct 24, 2009 at 12:01 AM

There is also a video tutorial up here: http://waddlefarm.org/blog/?p=617

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 sona.viswam · Jul 29, 2013 at 04:32 AM 0
Share

link broken :(

avatar image
5

Answer by drawcode · Oct 24, 2009 at 07:55 AM

It depends. If you are running in IFRAME mode then you can just embed it as normal and run Facebook Connect on the site to pass in the facebook data. You can check out Facebook's javascript apis for this.

If you are using FBML they have specific tags like fbml:swf for flash but not unity. You can use an iframe in FBML though like .

But I recommend you use an iframe setup in facebook developer because you can use just about any facebook javascript library or server side library with it. Also, you can and easily use other tools like jquery and other scripts you might have without worrying about conflicts or integration, also there is less FBML that way (and less lockin to facebook).

Facebook JavaScript Client Library

or

Lookup 'facebookjsapi' on Google Code I use this frequently just to pull basic content out like profile info and friends or friends with the app - that is really all you need then just run the rest like you normally would on your site.

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
1

Answer by yoyo · Jan 09, 2011 at 07:17 AM

One of the easiest ways is probably with dimeRocker Arcade. They have a Unity API that takes care of all the facebook integration for you.

Disclaimer: I'm not affiliated with dimeRocker, and I've only read their docs, I haven't tried it out for myself. Let us know if you do, I'm curious to know more.

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

1 Person is following this question.

avatar image

Related Questions

Application.absoluteURL 1 Answer

Facebook/Gmail/Twitter Connection with Unity3D 1 Answer

facebook integration in my unity3d android game 2 Answers

using enum value in cs? 1 Answer

Unlock content with Facebook Youtube etc? 0 Answers


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