it’s me again a few weeks ago i started the painful way to get a facebook app running with the new Graph API.
I made it and threw a small unity3d example in it.
As you can see it’s nothing dramatic, just your picture and name. But now it would be an easy step to integrate wall posts, friends and all that stuff.
It’s a good base to start!
If someone is interested i could polish this example and sell it for a few bucks.
It consists of a few .php scripts, the small unity example which loads pictures as textures and a small readme with setup instructions (with all that it takes 1 min to get an app like this running)
Anyone?
Greetings
Ethan ___________________________ UPDATED EXAMPLE - added posting to users wall
nice work!
unfortunately i have already worked through all of this myself, otherwise i would definately safe the effort and buy it from you.
the facebook documentation is horrible imo, even though it has gotten a little bit better with the new api.
it would be nice if your app loaded the placeholder pic from facebook if you don’t have a profile picture instead of showing just that ugly question mark.
if you implement showing your friends’ pics, publishing, sharing and inviting friends then it’s definately worth selling.
you can open these messages in a popup window. it might not be pretty, but i think it still looks better than using javascript to resize the game to 1 pixel.
or you could ask for extended permissions, so you can use custom share-windows.
and hopefully this will just be a workaround until someone (i.e. UT ;)) finds a good solution
i think there are many people who are struggling with facebook. if there was a good basic code to start with or even a clean tutorial, i’m sure that would help quite some people around here.
I’m interested in what Unity could do on Facebook- and how to do it. If that tutorial + example does come into existence, I’d like to hear about it. This is something I’d definitely like to try my hand at, but would need a good step-by-step to figure it out, being primarily an artist (who dabbles in code occasionally).
thanks cj, trying that right now! The PHP and even HTML is way over my head, but i’m amazed at how easy it looks to get at least a simple Unity player working in FB.
I’d sure pay a few for something to help me easily set up an application in facebook. It would be great if it can support posting to a wall seamlessly, ideally with no popup.
I already made this “posting to a users wall”. It’s not that hard, you just have to ask for the rights when the user accepts or declines your app on first time use.
I ended up implementing the ‘push Unity down’ technique that Tempest had mentioned somewhere here on the forums. It does work, although there are still a few problems, I think they’re with the suck that is FB, and not anything we/Unity can fix. Bejeweled Blitz also does this for stream publishing, so there’s a precedent for ‘big’ games doing the same thing, which always helps. Still, Unity could help with a more elegant solution, but this is definitely acceptable, IMO.
I am struggling with the face book integration in unity because I am new to Unity and face book also. Please give me a basic tutorial/demo on this it will be very helpful for me.
it would be great to have a facebookintegration for the iphone, but be sure to check out unityprefabs.com.
they have made a facebook integration for a few bucks, but it only works for pc and mac. they also have a twitter integration.
But you have to be sure that this unityprefabs prefab is made with the new graph api of facebook.
The old rest api may be switched off some time.
If you know how to change some vars in php files, you may drop me a pm and i will send you the stuff you have to upload + the unity script which shows your pic name aaaand a small note how to post to users wall.
All i want is a small donation, if this scripts helped you
that`s really very nice of you. But we need this facebookintegration for Iphone. So if your facebookintegration also works with Iphone, we would be really glad to have it and a donation would not be a problem.