简体   繁体   English

深层链接未从 facebook 帖子打开应用程序

[英]Deep link is not opening the app from facebook post

I have added a deep link support in my app, and it works fine from gmail, messaging apps.我在我的应用程序中添加了深度链接支持,它在 gmail 消息应用程序中运行良好。

But from facebook, it opens the browser and not the app.但是从 facebook 开始,它打开的是浏览器而不是应用程序。

 <activity
            android:name="..MyActivity">
            <intent-filter>
                <action android:name="android.intent.action.VIEW"/>
                <category android:name="android.intent.category.DEFAULT"/>
                <category android:name="android.intent.category.BROWSABLE"/>
                <data android:scheme="https"/>
                <data android:host="mywebsite.com"/>
                <data android:pathPrefix="/screen1"/>
                <data android:pathPrefix="/screen2"/>
            </intent-filter>
        </activity>

Do i need to add something additional to make it work on facebook.我是否需要添加一些额外的东西才能使其在 facebook 上工作。

Best way to support opening your app from FB is to support FB Applinks - https://developers.facebook.com/docs/applinks/支持从 FB 打开应用程序的最佳方法是支持 FB Applinks - https://developers.facebook.com/docs/applinks/

This will give you the option to navigate directly into your app incase it's installed.这将使您可以选择直接导航到您的应用程序以防它已安装。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 通过Android将视频发布到Facebook,并具有指向应用的深层链接 - Post video to Facebook from Android with deep link back to app 从应用打开深层链接时应用崩溃 - App crashes on opening deep link from the app 如何实现Facebook共享,然后在Android App中使用深层链接(打开我的应用程序)发布发布的深层链接? - how to implement Facebook sharing and then deep link that post using deep link(open my app) in android App? 如何从Facebook App内置浏览器深层链接应用程序? - How to deep link an app from the Facebook App builtin browser? 使用深层链接打开android应用 - Opening the android app using a deep link Android深层链接使用意图不打开应用程序 - Android deep link using intent not opening app Android webview 中的深层链接打不开应用 - Android deep link in webview not opening the app 从我的应用程序共享到 WhatsApp 的深层链接导致我的应用程序位于打开的应用程序 (WhatsApp) 之上 - Deep link shared from my app to WhatsApp causes my app to be ontop of the opening app (WhatsApp) Facebook通过链接android阻止我的应用打开 - Facebook prevent my app from opening by a link android 首次点击时,应用程序未从Facebook App Link Deep LInk启动 - App doesn't launch from Facebook App Link Deep LInk on first click
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM