Frequently Asked Questions

The social api provides the game with features that can help the game grow. You can either choose to use the javascript SDK or our JSON API in order to use our services.

The platform is the website where the game is played. As of 01/05/2014 we only support the platform='facebook', but soon we will support more. We use the platform param to identify where the game is located in order to proceed with the appropriate social feature for the current platform.

On facebook the award will be shared like in the following screenshot, where "Jon Doe" is the name of the user that achieved the award, and "dev016" is the app's name.

On facebook the highscore will be shared like in the following screenshot, where "Jon Doe" is the name of the user that achieved the award, and "dev016" is the app's name.

On facebook, when "Joe Doe" challenges another player, the challenged player will see a notification like in the following screenshot.

On facebook, when "Joe Doe" invites another player to play the game, the invited player will see a notification like in the following screenshot.

const FACEBOOK_TOKEN_EXPIRED = 1004;
const FACEBOOK_INSUFFICIENT_USER_PERMISIONS = 1005;
const FACEBOOK_UNKNOWN = 1010;