Deep link to my app from chat apps - android

I have an Android app that can be launched using a deep link.
The deep link is in the form: http://www.my_app_url.com/pathPrefix.
When I post this link as message in a Viber or Facebook conversation, it redirects to a webview of my app on the Playstore instead of launching my app.
Note: On Facebook, it shows a preview of my app, if I click on the preview, it launches my app correctly.
This works as expected on WhatsApp.
Can someone assist?

If you want to prevent facebook open links in its browser, in facebook App Settings toggle on Links open externally.

Related

Deep Link from messenger App to my app is not working?

I’m trying to setup an universal link to my app that my users can share on facebook. I can make it work on email, sms, browser, as follows:
1- If the user don’t have the app, it redirects to a custom URL or the AppStore
2- If the user have the app, it opens the app, including info to open the app in a customized state.
When I try to share the same link on the facebook wall or in facebook messenger, it always opens up the custom URL that I have set, even if I have the app installed.
and it works in apps like whatsapp.
What am I missing?

Deep-links work from browser, but not from facebook app (Android)

I have deeplinks set in my app. When I press on a link in facebook in Chrome - it opens the app.
However, when I click the same link from within the facebook app, it doesn't open my app.
Does facebook has some restrictions with deep links? Or perhaps there's something to be added in the intent filter?

How to test Facebook Deep Link in Android App through facebook Ad preview (or) through realtime facebook ads

I am trying to test the facebook deep link using the Ad hosted in FB Ads-Manager (https://www.facebook.com/ads/manager).
I have deep link code in place in my Android App which receives the deep link and prints it for me. When I use "Deep Link Tester" in FB Developer Tools, it sends a notification to my facebook profile and when I click on it, it takes me to my Android App (which is still in development phase/locally installed), my app can read the embedded deep link and print it for me in the expected format (appname://module/1). But in a similar way, if I use FB Ads-Manager to see the Ad-Preview and click on "View on mobile", I get below notification as expected
Mobile Ad Preview
A notification has been sent to the Facebook account for xyz. Please open Facebook on your phone to preview your ad.
when I click on this Ad preview from my fb profile notification, it takes me to my local Android App as expected but my App prints only App ID (like fb123456://) but not the full Deep Link URL which I set on Ad (fb123456://module/1).
Could someone suggest how should I ensure the deep link is working perfectly before my App goes LIVE. Also suggest me why the Ad-Preview deep link URL is not coming fully?
This is known to be non-functional (see here for more info). The way you are currently doing it is the least bad approach.

Facebook deep link do not opens Google Play when APP not installed

I am developing an Android application with Facebook login and sharing, and also deep linking.
When the user have the APP installed, everything goes well:
Facebook login/logout
Share a link with Share Dialog (Feed Dialog when FB app is not installed)
Launch the APP with AppLinkData when clicking the news feed shared from this APP
However when the APP is not installed, the news feed just open the shared link with browser.
But I want is the news feed shared from the APP can send people to the APP's Google Play page.
Can anyone give me some hints? Thanks in advance!!
Here is want I have done for the application:
I created a New App in Facebook developer page. I enabled Single Sign On & Deep Linking in Setting page
http://i.stack.imgur.com/KM9tn.png
I added custom URL scheme in AndroidManifest.xml
I've read the Linking to your app from news feed section from Facebook below:
https://developers.facebook.com/docs/android/share#applinks
Saying when a person clicks on a story generating by the APP, Facebook will check App installed? and Mobile Only?.
How can I set Mobile Only for my Android application?
I would greatly appreciate it if you kindly give me some feedback.
Thank you very much!
Deeplinks do not come with an automatic fallback. If a user clicks one and does not have the app installed, then they will either see a blank page or an error message.
If you want your deep links to redirect to the Google Play Store, you can set up fallbacks using Facebook’s App Links protocol on your website. In this case the fallback would be the Google Play store. According to App Links, Facebook should respect that protocol and fall back to the Google Play Store.
https://developers.facebook.com/docs/android/share#linking

Facebook Android SDk post to my wall with Native FaceBook App or through web brwoser if FB app is not present

I want to put in may application a button which will give a possibility for the user to input some message and post it on his wall. My question is, how to implement this scenario:
User enters message and clicks Share button.
If Native FaceBook app is present on the device, it is fired in order to post this message, or to login first and give permissions.
If Native FaceBook app is NOT present on the device, web browser is fired and redirected to facebook page in order to login and post a message. (Or popup with WebView instead of web browser app)
this is the sample project link https://github.com/facebook/facebook-android-sdk
and the tutorial link is : http://blog.doityourselfandroid.com/2011/02/28/30-minute-guide-integrating-facebook-android-application/

Categories

Resources