For the complete documentation index, see llms.txt. This page is also available as Markdown.

Social

Social features help players invite friends, return more often, and share results. Every method here is optional — pick only the ones that fit your game and target platforms. None are required for SDK initialization.

Trigger social actions only from direct player input. Automatic calls on game start, level complete, or similar events violate many platform policies and can get the game rejected.

Share

Let players share a score, achievement, or game link. Show the share button only when sharing is supported.

bridge.social.isShareSupported

Use this flag to decide whether to show the share button.

let options = { }

switch (bridge.platform.id) {
    case 'vk':
        options = {
            link: 'YOUR_LINK'
        }
        break
    case 'facebook':
        options = {
            image: 'A base64 encoded image to be shared', 
            text: 'A text message to be shared.',
        }
        break
    case 'msn':
        options = {
            title: 'A title to display',
            image: 'A base64 encoded image or image URL to be shared', 
            text: 'A text message to be shared.',
        }
        break
}

bridge.social.share(options)
    .then(() => {
        // success
    })
    .catch(error => {
        // error
    })
Platform support · 5 of 28 platforms

Supports: discord, facebook, msn, playdeck, vk

Does not support: absolute_games, bitquest, crazy_games, dlightek, game_distribution, gamepush, gamesnacks, huawei, jio_games, lagged, microsoft_store, ok, playgama, poki, portal, reddit, samsung, telegram, tiktok, xiaomi, y8, yandex, youtube

Join Community

Let players join your game community, page, or group from inside the game.

Use this flag to decide whether to show the join-community button.

Platform support · 4 of 28 platforms

Supports: facebook, ok, reddit, vk

Does not support: absolute_games, bitquest, crazy_games, discord, dlightek, game_distribution, gamepush, gamesnacks, huawei, jio_games, lagged, microsoft_store, msn, playdeck, playgama, poki, portal, samsung, telegram, tiktok, xiaomi, y8, yandex, youtube

Invite Friends

Let players invite friends to the current game session or game page.

Use this flag to decide whether to show the invite-friends button.

Platform support · 4 of 28 platforms

Supports: discord, facebook, ok, vk

Does not support: absolute_games, bitquest, crazy_games, dlightek, game_distribution, gamepush, gamesnacks, huawei, jio_games, lagged, microsoft_store, msn, playdeck, playgama, poki, portal, reddit, samsung, telegram, tiktok, xiaomi, y8, yandex, youtube

Create Post

Let players create a platform post from inside the game. Use only on platforms that support this flow.

Use this flag to decide whether to show the create-post button.

Platform support · 2 of 28 platforms

Supports: ok, reddit

Does not support: absolute_games, bitquest, crazy_games, discord, dlightek, facebook, game_distribution, gamepush, gamesnacks, huawei, jio_games, lagged, microsoft_store, msn, playdeck, playgama, poki, portal, samsung, telegram, tiktok, vk, xiaomi, y8, yandex, youtube

Add to Favorites

Let players add the game to the platform's favorites or bookmarks.

Use this flag to decide whether to show the add-to-favorites button.

Platform support · 2 of 28 platforms

Supports: tiktok, vk

Does not support: absolute_games, bitquest, crazy_games, discord, dlightek, facebook, game_distribution, gamepush, gamesnacks, huawei, jio_games, lagged, microsoft_store, msn, ok, playdeck, playgama, poki, portal, reddit, samsung, telegram, xiaomi, y8, yandex, youtube

Add to Home Screen

Let players add a shortcut to the game on their home screen or launcher.

Use this flag to decide whether to show the add-to-home-screen button.

Platform support · 4 of 28 platforms

Supports: samsung, tiktok, vk, yandex

Does not support: absolute_games, bitquest, crazy_games, discord, dlightek, facebook, game_distribution, gamepush, gamesnacks, huawei, jio_games, lagged, microsoft_store, msn, ok, playdeck, playgama, poki, portal, reddit, telegram, xiaomi, y8, youtube

Rate Game

Open the platform's rating flow. Trigger it after a positive moment, such as completing a level or returning after several sessions.

Use this flag to decide whether to show the rate-game button.

Platform support · 3 of 28 platforms

Supports: microsoft_store, ok, yandex

Does not support: absolute_games, bitquest, crazy_games, discord, dlightek, facebook, game_distribution, gamepush, gamesnacks, huawei, jio_games, lagged, msn, playdeck, playgama, poki, portal, reddit, samsung, telegram, tiktok, vk, xiaomi, y8, youtube

Check whether the platform allows links that leave the host environment, such as your official site, support page, or community page.

If this is false, hide external links or replace them with platform-approved navigation.

Platform support · 19 of 28 platforms

Supports (external links allowed): bitquest, crazy_games, discord, dlightek, facebook, gamepush, gamesnacks, huawei, lagged, microsoft_store, msn, playdeck, portal, reddit, telegram, tiktok, vk

Does not support (external links blocked): absolute_games, game_distribution, jio_games, ok, playgama, poki, samsung, yandex, youtube ,xiaomi, y8