Yesterday, 2012 September 18 was celebrated the Facebook Developers World Hack Barcelona. This was my first time in a hack/jam/coding style event and I must admit that it was a great experience 🙂
Tag Archives: facebook
FacebookScorer – Post highscores to user’s Facebook Wall
Today’s post is an update for an old article about posting high scores to Facebook Wall. Some users have reported some issues about this class. There were some problems with the state control when authorization was needed.
Today I will like to post a new version of the class that solves these issues. The project is now called FacebookScorer and you can find it on GitHub.
A Facebook reusable class
In today’s post I’m going to share a piece of code that allows your games to easily connect to Facebook. It is a singleton class designed to be reusable, very simple to use and with only one task in mind: post new high scores on Facebook. You can find the example project source code at the end of the article.
The aim of this post is not to teach you about how to use the Facebook API to connect your iPhone games to Facebook. There are a lot of articles covering this topic and the official Facebook developers site. In this tutorial I would like to put the emphasis on the reusable and simplicity to use aspects. It is very easy to integrate in your projects the piece of code I’m going to show you.