Is it possible to post a score to a facebook wall?
I’ve tried searching for this and most of the search results come up with how to put a unity game on facebook. My game is on wooglie, so things like dimerocker wont work, which is another result I get from searches.
All I want to do is post a score from a wooglie game to a facebook wall. I see iPhone games that do this all the time. Is this possible from wooglie?
I am knee-deep in the same thing right now. I’m using Facebook’s new PHP SDK. My game is presented as an in-browser Facebook app.
So far I have an IFrame of my game working, and it is able to pass the current user’s ID into the game from a JavaScript function. With that ID, I’m able to access information from Facebook’s graph API using WWW. For example, the multi-player list will show the Facebook name and picture of those hosting a session.
There are two approaches I’m looking for myself: 1) Post info to the wall via the in-browser Facebook app, 2) Post info to the wall via a standalone Unity game (by invoking the default browser).
I hope to have more later. If you want to work together to accomplish posting to the player’s wall, feel free to contact me.
But in the meantime, anyone else have details that can help us???
I think I understand where you are coming from. My understanding is that for PC and Mac, a post must be made via a web browser.
My plan for the browser version is to have an Iframe above the game window. When ready for the wall post, this Iframe could expand, push the game window down, and be filled with Facebook the content that a player must use to finalize the wall post.
So as I understand it, a browser is the means of making the post. The player gets to review the information before it goes to the wall, and click to confirm.
Do you have control over the HTML for your game on wooglie?
Thanks for you sugestions, although as my game is on wooglie.com I can’t add anything to the html or additional scripts etc. I’ve found a few examples on how to do this, but it needs an external script that I can’t add.
I guess this can’t be done without hosting it myself or using something like dimerocker