How to share link from web to Messenger on mobile - share

In my application I have a button responsible for sharing a specific link to Messenger. While on mobile web, I would like it to open new Messenger message with prepopulated link and no addresee on both Android and iOS.
It seems, like https://developers.facebook.com/docs/sharing/messenger/web was a great solution, but as it is mentioned in the link, they stopped supporting it.
Is there any other way to achieve what I am looking for?

Related

Implement WeChat social share button

I'm trying to find a way to implement Social Share button to share via WeChat (the same as we can do for the Twitter, Facebook, etc). Not the whole website, just copied link or selected good.
I've found the official docs with JS SDK of Weixin API: https://developers.weixin.qq.com/doc/offiaccount/en/OA_Web_Apps/JS-SDK.html#10 , but according to the answer it works only with the integrated WeChat browser.
WeChat also doesn't allow to use deeplink directly to the app (like weixin://dl/posts), so there are also no way to implement direct sharing with passing params.
Is there any possibilities to share content via WeChat from non-WeChat browser (like Chrome, Safari, etc)?
If someone still searching for any solution, some sort of workaround for mobile devices might be Web Share Api .
Note: Be careful, it doesn't have good browser support: https://caniuse.com/web-share

Is there a way to open a dynamic link in a browser?

I have an ionic app where i can send invitations (share app link), I used firebase dynamic links. When I share it, the person who receive the message can open the link in a device (tested for android) and he is redirected to the play store ( app not found because i am still testing it), but if the link is opened on a pc, then browser opens with page not found.
I am new to all the stuff.
As the first point, the link that should be shared is your website domain name example.com/anypagename that couldn't be direct accessed.
Whwn user click this link from any place it will redirect him to this website page, And in this page for website you will add a function to detect device, and if device is android, it send a response of google play link and same for ios and if desktop will redirect to main website page.
http://mobiledetect.net
Use this library to achieve what i said above...
I had a lot of success for scenario similar to you by using Branch.io service. It is mostly free with advanced features being priced.
Do have a look at their offering. If not i can help out too.

Facebook deeplink doesn't work in web browser

We're trying to implement deep links in facebook ads. Everything works fine when we open ad link in facebook app: if our app is curretly installed then facebook app launches our app and passes the deep link into it. Also if our app is not installed and we open ad link in facebook app then it redirects to AppStore and we recieve deferred deep link from facebook inside our app.
But when we try to reproduce all these scenarios using facebook browser version, none of the cases are working (neither deep link nor deferred deep link)
Is it possible at all to make deep links work in web environment?
Finally I've asked Facebook support and received the answer:
Deep link is designed to work in apps only. It doesn't work with a
browser. Please don't worry because it's working as expected!
https://developers.facebook.com/support/bugs/535030953629446/?disable_redirect=0

New Facebook Messenger integration doesn't support URL Scheme Suffix?

I'm developing a 2nd version of our app for Facebook Messenger to meet their new platform integration requirements described here:
https://developers.facebook.com/docs/messenger
I'm attempting to allow both apps to share the same Facebook App ID. This page from the iOS troubleshooting docs has a section on Sharing an app ID across Apps
https://developers.facebook.com/docs/ios/troubleshooting#testsharedialog
It shows you how to add URL Scheme Suffixes to your apps so that they can both live on the same phone yet share the same Facebook App ID.
I've done this and it works successfully so that both apps can use Facebook login without stepping on each others toes. However, it seems that doing so broke my integration with FB messenger, which was previously working.
After following the instructions on the troubleshooting link above and adding the fields for the URL Scheme suffix, the videos I send to FB messenger no longer have a Reply button on them. Media inside Messenger that was sent from my app no longer contains any tappable element that takes you back to my app.
Does anyone know if there's a way to get the URL Scheme Suffix working in a way that it still works with the new Messenger Platform?
Thanks!
Heard back from Facebook directly on this. Their response:
No it doesn't. Because we will try to open the scheme without suffix. How would we know which suffix you want to open from messenger? ... So no suffixes are not supported. Just use a different app id.

Is it possible to open Facebook share dialog (in Facebook app) from mobile web?

We have similar functionality for Twitter -- linking to "twitter://post?message=Hello" will open the Twitter app (if installed). Is there a similar way to invoke in-facebook-app share dialog via "fb://"?
The reason we'd like to use "fb://" over "http://facebook.com?sharer.php?u=" is UX. From their phones, most FB and Twitter users use the native apps (not the mobile web versions) so their apps are logged in and their browsers are not. The "twitter://post" link works beautifully for Twitter, but we can't figure out if something similar is possible with Facebook (we tried most of what's on http://wiki.akosma.com/IPhone_URL_Schemes#Facebook but no dice. Even the actual share button invokes the fb web version, not the app). Suggestions?
Thanks.