shareToFacebookStory method
Shares background and sticker media directly to Facebook Stories.
Implementation
@override
Future<bool> shareToFacebookStory({
String? stickerAssetPath,
String? backgroundAssetPath,
String? topBackgroundColor,
String? bottomBackgroundColor,
required String facebookAppId,
String? text,
}) async {
final result = await methodChannel.invokeMethod<bool>('shareToFacebookStory', {
'stickerAssetPath': stickerAssetPath,
'backgroundAssetPath': backgroundAssetPath,
'topBackgroundColor': topBackgroundColor,
'bottomBackgroundColor': bottomBackgroundColor,
'facebookAppId': facebookAppId,
'text': text,
});
return result ?? false;
}