shareFeedContentToFacebook method
Share a content to your Facebook feed method. You can provide a link (link
) of the content you want to share
There are some other properties pageId
, peopleIds
, hashtag
, etc.
The properties linkCaption
, linkName
, linkDescription
, mediaSource
, picture
, and toId
are available on Android platform
quote
property is use for iOS platform.
Working on: Android and iOS platforms.
Implementation
Future<dynamic> 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,
}) async {
return _channel.invokeMethod(
'shareFeedContentFacebook',
<String, dynamic>{
'link': link,
'pageId': pageId,
'ref': ref,
'peopleIds': peopleIds,
'placeId': placeId,
'hashtag': hashtag,
'linkCaption': linkCaption,
'linkName': linkName,
'linkDescription': linkDescription,
'mediaSource': mediaSource,
'picture': picture,
'toId': toId,
'quote': quote,
},
);
}