In the previous chapter, you learned how to create a HTML5 game called Crazy Bubbles, where the main idea is to collect as many bubbles of the same color as possible. In this chapter, we will communicate with several of the most popular social networks: Twitter, Facebook, and Instagram. We will implement a game over criteria for the game and review several options to share our results on social networks. Here is a short list of the topics we will cover in this chapter:
Checking the game over criteria
Posting a new message on Twitter and Facebook
Communicating with the Instagram application