Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 14: Facebook Fuzed > Facebook Score API

Facebook Score API

The game we just developed could be deployed in a lot of places right now because it is just HTML code. You could make it playable from a website and code a high-score system into the game that uses your browser's LocalStorage API to record a user's high score. This would be relatively straightforward, but you really are limited to seeing your own high scores. You could write your own database system for recording high scores as we did in Chapter 12. There are some limitations with a solution like this, especially if you need to develop an authentication/authorization system (there are a lot of talented site crackers out there). This is actually a big plus for a framework such as the Facebook platform, to manage some of these concerns so you do not need to think (as much) about them.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial