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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.