Ejemplo de archivos de juego de Facebook
<script src="https://connect.facebook.net/en_US/fbinstant.6.3.js"></script>
Valley
<script src="https://connect.facebook.net/en_US/fbinstant.6.3.js"></script>
fbinstant.initialize(function(self, success)
fbinstant.start_game(function(self, success)
local player_id = fbinstant.get_player().id
local player_name = fbinstant.get_player().name
end)
end)
FBInstant.initializeAsync().then(function() {
FBInstant.startGameAsync().then(function() {
var playerID = FBInstant.player.getID();
var playerName = FBInstant.player.getName();
});
});