facebook game files example
Example 1: facebook game files example
FBInstant.initializeAsync().then(function() {
FBInstant.startGameAsync().then(function() {
var playerID = FBInstant.player.getID();
var playerName = FBInstant.player.getName();
});
});
Example 2: facebook game files example
<script src="https://connect.facebook.net/en_US/fbinstant.6.3.js"></script>
Example 3: facebook game files example
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)