Phaser API Documentation

  Version: 
<private> _share(intent, text, key, [frame], [sessionData])

Description:

Internal share handler.

Parameters:

name type arguments description
intent string

("INVITE" | "REQUEST" | "CHALLENGE" | "SHARE") Indicates the intent of the share.

text string

A text message to be shared.

key string

The key of the texture to use as the share image.

frame string <optional>

The frame of the texture to use as the share image. Set to null if you don't require a frame, but do need to set session data.

sessionData object <optional>

A blob of data to attach to the share.

Returns:
Description:

This Facebook Instant Games Plugin instance.

Examples:
Since: 3.13.0