Home > Mobile >  Share Direct Message (DM) from Flutter App to Messenger and Instagram
Share Direct Message (DM) from Flutter App to Messenger and Instagram

Time:10-15

I want to share a text as direct message (DM), from my flutter app to Messenger and Instagram direct. The user will click on icon within the app to open the right social media. I don't wan't to open the system window with all apps available. It's already working for What's app or Twitter. I click on an icon and it's open a link which open message with filled text. I use the url_launcher package to do it example : 'https://api.whatsapp.com/send?text=$text&url=$url'

CodePudding user response:

You can try the package share_plus (https://pub.dev/packages/share_plus).

CodePudding user response:

The most popular plugin is share: link here

  • Related