O'Reilly logo

Beginning Facebook Game Apps Development by Wayne Graham

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Facebook Integration

Now that the game is working as expected and should be bug free, we can turn our attention to integrating the game with the Facebook platform. The major thing we will accomplish here is the code needed to select an image from the user’s Facebook albums. As I have explained previously (see Chapter 8), we will set up a new application (though you can certainly use one that already exists) to deploy the application.

For my purposes here, I will create a new application named Facebook Image Puzzle and set the category to Games with a subcategory of Puzzle. I will connect this to the Heroku cloud using the PHP SDK. Most of the code you need to interact with the Facebook platform will already be in the project that is generated ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required