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

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

Related

Intercepting links from Facebook app to open my Android app

Referring to this post, I have managed to intercept link from Google search result to open my app, but is there any way I can intercept link from Facebook app to open my app? At current stage, clicking on the link only open my webpage in Facebook's build in browser and not my app.
Thanks in advance.
You can do so using app linking (not deeplinking, but similar). You have to provide meta tags to your hosted website. Refer this link
https://css-tricks.com/essential-meta-tags-social-media/
. You have to provide your package name and fb app id to the meta tags, and you will be redirected to your app.

Facebook/Gmail/Whatsapp/Twitter deep linking in Android

I could not find a specific solution. please give me step by step solution so that i can integrate the deep linking of Facebook, Gmail, Twitter and Whatsapp. i have applied the library of google play services and facebook sdk and also unable deep linking in my account but i did not find the code for make my app link. please give me solution. Thank you
You can deeplink if the application provides their SDK. fortunately facebook, gmail, and twitter provides SDK, but whats app not providing any sdk. so you can deep link all other applicaiton you listed out with your app, but not WhhatsApp.
This is a partial answer (only for FB)
According to your requirement you need to do extra works to ensure deep linking.
For FB:
Create a fb app with share permission ( you need to get approval so that user can share from your app using fb sdk )
While sharing you must share your website which contains meta data for Android/iOS device (check android/iOS developer page for that meta data)
Now if user clicks on the share content using mobile they will be taken directly to the app. If they click from the desktop device, you can redirect them to html version or to google play site or whatever page you like.
I suspect Google and Twitter has similar mechanism.
Hope this helps.

Facebook deep linking in android not launching play store

I integrated facebook SDK(Version 3.22.0) for my android application sharing feeds feature. I want to use deeplinking feature for my posted feeds.
For that i followed the followed the link Deep liking. And implemented.
My idea is to open my application when user taps on posted feed from my application if my application is installed in device. If my application is not installed feed tapping should open google play store with my application details.
Here is the current working flow:
Application is opening if my application is installed in device.
Opening web view with google play store with my application details if my application is not installed in device. It is not expected
Expected work flow is:
It should open google play store with my application details if my application is not installed in device.
I generated Key Hashes with my local debug.keystore and product.keystore and placed them in facebook developer console for registered application. Which i am using for deep linking.
Please can anyone let me know why deep linking is not launching google play store application with my application details of my application is not installed.

Facebook applinks does not open Google Play when app not installed

I have an Android application with Facebook sharing, and also applinks and deep linking. If the user have my app installed, everything goes well. User clicks shared item and my app opens.
**However when my APP is not installed, the news feed just open the shared link with Facebook app browser. But I want that the news feed shared from the my APP can send people to the APP's Google Play page. Can anyone give me some hints? **
I've read the Applinks section from Facebook below: https://developers.facebook.com/docs/applinks/android
Thanks in advance.

open play store when app not installed in android by clicking the link from browser or mail App

I am working with deep linking feature in my app. My requirement is,
When my app not installed in a device during user clicks my specified link
(eg. http://www.showonthecloud.com ) from device browser or gmail app , want to redirect my app's google play store page. Is it possible?
You can just implement that link on your web server so that it lets them know they can download the app (assuming that you are using a link that you can manage on the web)

Categories

Resources