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

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?

Related

Can android gmail app login sessions be redirected to a real browser like chrome instead of the WebView?

I have an IdP which needs to open an app to complete my Gmail login (or any other Google workspace app).
Once I log in to my IdP, it asks me to open the authenticator app but the WebView implementation that Gmail has does not let me open apps through intents or universal links. I have developer access to the page that asks the user to open the app and the app itself. Can I somehow make the WebView launch a browser like chrome to complete the login? OR can I register my app with Google/Gmail to be allowed to be opened through the WebView?

I want to associate my website with my app, just like with Youtube, or Twitter app

I have created a WebView app for my website.I want to associate my website links to my app, such that if a user gets any link of my website, it prompts the user to open that link in app(if installed) or in browser. Just like with the Youtube app, or Twitter app.

Deep link to my app from chat apps

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.

How can I smartly redirect users who click on an email link, to my app or my mobile site?

I have an app and a mobile site. I also send emails to my users. I would like the following to happen if my users open these emails on their mobile phones and click on a link:
If a user has installed my app, then launch the app and open the relevant page inside it.
If a user has NOT installed my app, then launch the browser and take him to the relevant page on my mobile site.
I want this to happen seamlessly and automatically. I DON'T want to use the inbuilt android prompt as users end up choosing chrome (since it is the first option shown). How can I do this? Would ideally want solutions for both android & ios.
You can do this with a landing page. Send user to landing page, check platform, then check if they have app installed(if they have registered custom url scheme) if they have then they go to app. Otherwise they go to mobilesite.
See this answer by https://stackoverflow.com/a/29019660/1165581 by Adam
You can NOT prevent the Android prompt which lets the user choose an option. What you can do is, create a link to your mobile site and have your App react to urls containing your domain. So what will happen is:
if a user clicks the link and does NOT have your App installed, he/she will be prompted with the default url handler prompt (only the first time) and then open the mobile site in the prefered browser
if a user clicks the link and DOES have your App installed, he/she will get the same prompt, only your App will be listed there as well next to browser Apps.
Here is an explanation on how to this: Android Respond To URL in Intent
You can use URL Schemes in iOS for your requirement to be full filled. By Using URL Scheme you can do exactly same. Clicking on link will launch your app. Please go through the concept of URL Schemes.
Follow the below referral link:
http://code.tutsplus.com/tutorials/ios-sdk-working-with-url-schemes--mobile-6629
Hope this helps!!

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