During F8 2019, we announced our plans to launch a lighter, better and simpler Messenger designed to build closer connections between people and businesses.
Starting August 15, 2019, updated versions of the Messenger app will no longer support Share Button, Messenger Extension SDK - BeginShareFlow and Share to Messenger SDK. Refer to June 10, 2019 Announcement
With Messenger's built-in sharing functionality, people can already share content from your Messenger experience with others. There may be cases, however, when you want to encourage sharing with a more prominent call-to-action or custom experience than the default functionality. To enable this, the Messenger Platform offers features that allow you to more explicitly begin sharing flows both in-conversation and in the Messenger webview.
Users can forward any rich message from your bot (like an image or generic template) to their friends.
Users can tap your bot's name from the top toolbar, then tap "Share" to share your bot.
The share button is a call-to-action button that can be added to certain structured message templates. The share button sends the full template of the message or a new generic template message, along with an attribution that contains the name and icon of your Facebook Page. When the attribution is tapped, a new conversation with your bot is opened.Learn More →
Taking advantage of the Messenger webview is essential for creating rich experiences in Messenger, and is another opportunity for you to encourage sharing.
By default, webpages shown in the webview may be shared, but for a more custom experience, try the
beginShareFlow() method of the Messenger Extensions SDK.
beginShareFlow() allows you to customize the way the content is shared in Messenger, and enables sharing content back to the current conversation or broadcasting it to multiple people.