docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum ShareDestination

    Specifies the share destination in the share dialog. Provide this value in the payload when calling ShareAsync(SharePayload).

    Namespace: Meta.InstantGames
    Assembly: Unity.Meta.InstantGames.Sdk.dll
    Syntax
    public enum ShareDestination

    Fields

    Name Description
    COPY_LINK

    Enable sharing the game by copying the game link to the clipboard.

    GROUP

    Enable sharing to the official game group. This option is only available for games with an official game group. To set up an official game group, add a page in the game setting in the developers portal in App Settings > Advanced > App Page and create a group for the page in Facebook.

    MESSENGER

    Enable sharing the game to Messenger.

    NEWSFEED

    Enable sharing to the user's newsfeed.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)