Integrating with Facebook
With the game now uploaded to a server it is available for anyone in the world to play it. They can play the game, that is, if they know about it. One of the most difficult challenges any developer faces is getting the word out about their product. One of the easiest ways to spread the news is through social media sites, such as Facebook. GameMaker: Studio makes this easy as the functionality for connecting with Facebook is already integrated. We are going to add a Facebook login button to the frontend of the game, and we will add the ability for the player to post their scores to their Facebook walls.
In order to use the Facebook functions, we need to have both a Facebook account and a Facebook developers' account. Go to http://developers.facebook.com/ and log in. If you do not have a Facebook account, it will prompt you to create one.
Once we have logged in to the developers' page, we need to click Apps on the top menu bar. This will take us to the Apps page.
Next...