x


How to publish on Facebook from my game?

hi, im wondering how to add in my game the code to my GUI.Button to make it post on Facebook "I'm Playing myGameName, and got X points, Beat my score"+link to the game on app store i've read something about modifying on xcode the package that unity builds, but is there a way to make this stuff inside unity's scripts?

thanks in advance, will try the xcode method, but really appreciated if someone know how to from unity

more ▼

asked Mar 25 '11 at 03:52 PM

poncho gravatar image

poncho
932 2 3 14

(comments are locked)
10|3000 characters needed characters left

3 answers: sort voted first

I have no personal experience with this, so I can only point you to this. Hope it's helpfull.

more ▼

answered Mar 25 '11 at 04:17 PM

Joshua gravatar image

Joshua
6.5k 19 25 72

well, it looks really useful, its the evolved integration of what im doing on xcode, will see if i can make it a prefab of it, thanks for the link

Mar 25 '11 at 06:15 PM poncho
(comments are locked)
10|3000 characters needed characters left

Or this (which I bought): Unity Facebook App

But if you are familiar with PHP, the Graph API and the WWW function you could try it on your own.
A good example for Unity-PHP-SQL communication can be found in the wiki: Server Side Highscores
(If you decide to buy a package, make sure it is using the new Graph API!)

more ▼

answered Mar 25 '11 at 09:09 PM

efge gravatar image

efge
5.1k 5 14 40

(comments are locked)
10|3000 characters needed characters left

Did anyone get the progress on this Facebook publishing option as flash player? Does the unity Facebook app does more than just displaying info, does it actually picks up user´s names, etc.. to "rank" them later on with high scores? How´s that work? Thanks.

more ▼

answered Jun 13 '12 at 01:44 AM

sirdavid23 gravatar image

sirdavid23
1 1 1 3

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

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

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x3890
x140
x97
x75
x36

asked: Mar 25 '11 at 03:52 PM

Seen: 4272 times

Last Updated: Jun 13 '12 at 01:44 AM