You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -279,38 +279,38 @@ export class LoginViewModel extends Observable {
279
279
### Create Sharing Content
280
280
For sharing, you have to create sharing content first.
281
281
Currently the available content types are:
282
-
-**createLinksShareContent(link: string, quote?: string, addition?: ShareAdditionContent)** available for every condition
283
-
-**createPhotosShareContent(images: ImageSource[] | string[], userGenerated: boolean, addition?: ShareAdditionContent)** available for ShareButton and `showShareDialog` ( only when user have native Facebook installed, version 7.0 or higher )
284
-
-**createShareMessengerGenericTemplateContent(contentConfig: MessageGenericTemplateElementContent)** available for SendButton and `showMessageDialog`
282
+
-**createShareLinksContent(link: string, quote?: string, addition?: ShareAdditionContent)** available for every condition
283
+
-**createSharePhotosContent(images: ImageSource[] | string[], userGenerated: boolean, addition?: ShareAdditionContent)** available for ShareButton and `showShareDialog` ( only when user have native Facebook installed, version 7.0 or higher )
284
+
-**createShareMessageGenericTemplateContent(contentConfig: MessageGenericTemplateContent)** available for SendButton and `showMessageDialog`
285
285
-**createShareMessageMediaTemplateContent(contentConfig: MessageMediaTemplateContent)** available for SendButton and `showMessageDialog`
286
286
287
287
You can see more information from [https://developers.facebook.com/docs/sharing/overview#content](https://developers.facebook.com/docs/sharing/overview#content) and [https://developers.facebook.com/docs/sharing/messenger#share-types](https://developers.facebook.com/docs/sharing/messenger#share-types)
* @param {string} quote You can enable people to highlight text to appear as a quote with a shared link. Alternatively, you can predefine a quote, for example, a pull quote in an article, to appear with the shared link. In either case, the quote appears in its own field separate from the user comments.
24
24
* @param {ShareAdditionContent} addition When you use the Facebook share dialog, you have additional options that aren't available when you share by using the API.
* People can share photos from your app to Facebook with the Share Dialog or with a custom interface.
@@ -32,14 +32,14 @@ export declare function createLinksShareContent(link: string, quote?: string, ad
32
32
* @param {ImageSource[] | string[]} images : ImageSources or image urls of the photo to be shared
33
33
* @param {ShareAdditionContent} addition When you use the Facebook share dialog, you have additional options that aren't available when you share by using the API.
* The generic template is a simple structured message that includes a title, subtitle, image, a button. You may also specify a default_action object that sets a URL that will be opened in the Messenger webview when the template is tapped.
39
39
* see https://developers.facebook.com/docs/messenger-platform/send-messages/template/generic for more.
40
-
* @param {MessageGenericTemplateElementContent} contentConfig : config of the structure
40
+
* @param {MessageGenericTemplateContent} contentConfig : config of the structure
* The media template allows you to send images, GIFs, and video as a structured message with an optional button. Videos and animated GIFs sent with the media template are playable in the conversation.
0 commit comments