Build engaging ephemeral content with social.plus Stories supporting images, videos, and interactive elements
Property | Type | Description |
---|---|---|
url | String | The destination URL for the hyperlink |
customText | String | Display text or alias for the link |
createImageStory()
function enables creation of visual stories with comprehensive customization options and interactive elements.
Parameter | Type | Required | Description |
---|---|---|---|
targetType | Enum | Yes | Type of target (currently supports .community ) |
targetId | String | Yes | ID of the target community |
imageFile | File/URI | Yes | Image file to attach to the story |
storyItems | Array | No | Interactive elements like hyperlinks |
imageDisplayMode | Enum | No | Display mode: FIT or FILL (default: FIT ) |
metadata | Object | No | Custom properties and additional data |
createVideoStory()
function allows creation of engaging video content with the same interactive capabilities as image stories.
Parameter | Type | Required | Description |
---|---|---|---|
targetType | Enum | Yes | Type of target (currently supports .community ) |
targetId | String | Yes | ID of the target community |
videoFile | File/URI | Yes | Video file to attach to the story |
storyItems | Array | No | Interactive elements like hyperlinks |
metadata | Object | No | Custom properties and additional data |