shareToFacebookStory method

Future<String> shareToFacebookStory(
  1. String appId, {
  2. String? stickerImage,
  3. String? backgroundImage,
  4. String? backgroundVideo,
  5. String? backgroundTopColor,
  6. String? backgroundBottomColor,
  7. String? attributionURL,
})

Shares content to Facebook Stories with customizable background and sticker.

appId Your Facebook app ID for attribution. stickerImage Optional path to sticker image file. backgroundImage Optional path to background image file. backgroundVideo Optional path to background video file. backgroundTopColor Optional hex color for gradient background top. backgroundBottomColor Optional hex color for gradient background bottom. attributionURL Optional URL for attribution link.

Returns a String indicating the result of the sharing operation.

Implementation

Future<String> shareToFacebookStory(
  String appId, {
  String? stickerImage,
  String? backgroundImage,
  String? backgroundVideo,
  String? backgroundTopColor,
  String? backgroundBottomColor,
  String? attributionURL,
}) {
  return EasySocialSharePlatform.instance.shareToFacebookStory(
    appId,
    stickerImage: stickerImage,
    backgroundImage: backgroundImage,
    backgroundVideo: backgroundVideo,
    backgroundTopColor: backgroundTopColor,
    backgroundBottomColor: backgroundBottomColor,
    attributionURL: attributionURL,
  );
}