Summary

This chapter walked through the creation of a game and using the Facebook API to personalize it. We walked through the development of a game first, without using the Facebook integration, and then layered on calls to the Facebook graph. This technique helps you focus on problems as they arise, enabling you deal with them independently from other aspects of your code (e.g. is it a problem in the response data from Facebook, or how my game code initializes a certain parameter). I also walked through an issue that came up in the code that was outside of the planning going in to the game. Thinking about your code and coming up with an acceptable solution is something you will encounter again and again, no matter if you are developing games ...

Get Beginning Facebook Game Apps Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.