【发布时间】:2015-02-18 09:50:39
【问题描述】:
我的要求是用户在点击 facebook 帖子后应该重定向到特定的应用程序页面。
我参考了这个链接:Cannot get the new AppLinks to work on iOS or Android 并据此创建了演示。
我可以使用 php 脚本和 app_link_hosts id 生成 canonicalUrl (canonical_url : https://fb.me/7686509*******)。
我在我的 publishFeedDialog 中分享这个 url,就像这样 params.putString("link", canonical_url),帖子分享成功。
然后我将进入我的 facebook 应用程序并单击同一个共享帖子,这会将用户重定向到我的应用程序页面并且应用程序会自动打开,这很好。但我希望用户应该重定向到我的应用程序的内页。
我在从 facebook 帖子中重定向应用程序详细信息页面中的用户时遇到问题。请任何人提供有关此的详细信息。
我的问题和查询如下:
- How can I redirect user to application detail page with use of Applinks?
- Is it feasible to implement such functionality with use of Applinks?
- how to set target_url properly for detail screen of application?
我还检查了来自:http://applinks.org/documentation/ 的文档 但没有得到足够的帮助。还向 applinks.org 的支持团队发送了电子邮件,并等待他们的回复。
【问题讨论】:
-
在创建 fb.me url 时,您在 al:android:url 属性中添加了什么?
-
嗨明,感谢您的回复,
-
@MingLi 在我的 al:android:url 中,我在元标记中添加了以下内容:
标签: android facebook-graph-api deep-linking applinks