FacebookShare class

Constructors

FacebookShare()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shareBackgroundAssetFileToFacebookStory({required String? filePath, required String appId, required String fileProviderPath, required AssetType fileType, String? dstPath}) Future
Share local file to Facebook story method. The method required the local image (imagePath) file path, your Facebook app id (appId) and your custom file provider path (fileProviderPath) to access the local file on Android platform.
shareBackgroundImageAndStickerToFacebookStoryiOS({required String appId, required List<String?>? photoBackgroundAssetPaths, required List<String?>? stickerAssetPaths, List<String>? backgroundTopColor, List<String>? backgroundBottomColor}) Future
Share multiple local stickers and images to Facebook story on iOS platform method.
shareBitmapImageBackgroundAssetToFacebookStory({required String fileProviderPath, required String? imagePath, String? dstPath, String? pageId, String? ref, List<String>? peopleIds, String? placeId, String? hashtag, String? contentUrl, String? attributionLink, List<String>? backgroundColorList, String? videoBackgroundAssetPath, String? photoBackgroundAssetPath, String? stickerPath}) Future
Share local image bitmap to Facebook story method using ShareStoryContent class from Facebook share SDK.
shareCameraEffectToFacebook({CameraEffectTextures? cameraEffectTextures, CameraEffectArguments? cameraEffectArguments, String? effectId, String? contentUrl, String? pageId, List<String>? peopleIds, String? placeId, String? ref, String? hashtag}) Future
Share a Camera Effect to Facebook method. You have to provide data for cameraEffectTextures or cameraEffectArguments property to use this method.
shareFeedContentToFacebook({String? link, String? pageId, String? ref, List<String>? peopleIds, String? placeId, String? hashtag, String? quote, String? linkCaption, String? linkName, String? linkDescription, String? mediaSource, String? picture, String? toId}) Future
Share a content to your Facebook feed method. You can provide a link (link) of the content you want to share
shareFileToFacebook({required AssetType fileType, required String? filePath, required String fileProviderPath, String? dstPath, String? pageId, String? ref, List<String>? peopleIds, String? placeId, String? hashtag, String? contentUrl, String? contentTitle, String? contentDescription, String? previewImagePath}) Future
Share local file (video or image) to Facebook method. This method is merged from shareVideoToFacebook and sharePhotoToFacebook methods.
shareImageBackgroundAssetContentToFacebookStory({required String fileProviderPath, required String? photoBackgroundAssetPath, String? dstPath, String? pageId, String? ref, List<String>? peopleIds, String? placeId, String? hashtag, String? contentUrl, String? attributionLink, List<String>? backgroundColorList, String? stickerPath}) Future
Share local image to Facebook story method using ShareStoryContent class from Facebook share SDK.
shareLinkContentToFacebook({String? contentUrl, String? pageId, String? ref, List<String>? peopleIds, String? placeId, String? hashtag, String? quote}) Future
Share a link content to your Facebook feed method. You can provide a link of the content you want to share using contentUrl property.
shareMediaContentFileToFacebook({required String fileProviderPath, List<String?>? videoUrls, List<String?>? imageUrls, String? dstPath, String? pageId, String? ref, List<String>? peopleIds, String? placeId, String? hashtag, String? contentUrl}) Future
Share local images and videos to Facebook method. The method required the local video (videoUrls) and image (imageUrls) file paths and your custom file provider path fileProviderPath (use on Android platform) to access the local file.
shareStickerAssetToFacebookStory({required String appId, required String fileProviderPath, required String? stickerPath, String? dstPath, List<String>? stickerTopBgColors, List<String>? stickerBottomBgColors}) Future
Share local sticker image to Facebook story method. The method required the local sticker image (stickerPath) file path, your Facebook app id (appId) and your custom file provider path (fileProviderPath) to access the local file on Android platform.
shareVideoBackgroundAssetContentToFacebookStory({required String fileProviderPath, required String? videoBackgroundAssetPath, String? dstPath, String? pageId, String? ref, List<String>? peopleIds, String? placeId, String? hashtag, String? contentUrl, String? attributionLink, List<String>? backgroundColorList, String? stickerPath}) Future
Share local video to Facebook story method using ShareStoryContent class from Facebook share SDK. However, ShareStoryContent class is not working now so please use shareBackgroundAssetFileToFacebookStory method instead.
shareVideoToFacebookReels({required String? filePath, required String appId, required String fileProviderPath, String? dstPath, String? stickerPath, String? stickerTopBgColor, String? stickerBottomBgColor}) Future
Share local video to Facebook reels method.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited