简体   繁体   English

Facebook App Links无法打开我的应用程序

[英]Facebook App Links don't open my app

  • I have added my URL scheme to my .plist. 我已将我的URL方案添加到我的.plist中。
  • I have manually tested the scheme in Safari and confirmed that it launches my app just fine. 我在Safari中手动测试了该方案,并确认它启动我的应用程序就好了。
  • I have generated a hosted app links link that uses the scheme. 我已经生成了一个使用该方案的托管应用程序链接链接。
  • Nothing except my own URL was entered when creating the hosted app link. 创建托管应用程序链接时,没有输入除我自己的URL之外的任何内容。

When I tap the link on my phone (with my app installed) it takes me to a page with the text You have reached an implementation detail . 当我点击手机上的链接(安装了我的应用程序)时,它会转到带有文本的页面You have reached an implementation detail It's pretty obvious that Facebook didn't even try to use the URL that I had provided when creating this hosted app link. 很明显,Facebook甚至没有尝试使用我在创建此托管应用程序链接时提供的URL。

I should add that I have successfully created other hosted app links moments before that managed to redirect to webpages and to appstore, so there's nothing wrong with mobile Safari. 我应该补充一点,我之前成功创建了其他托管应用程序链接,并设法重定向到网页和appstore,因此移动Safari没有任何问题。

Where to go from here? 然后去哪儿?

Edit: My app is, of course, in development. 编辑:我的应用当然是在开发中。

I was having the same issue until i updated my app settings in the facebook developer site. 在我在facebook开发者网站上更新我的应用设置之前,我遇到了同样的问题。

In the image for #1 you enter the prefix (even though it says suffix...) for your url scheme (ex: if you use myapp://testing/here, then enter "myapp" into the field) 在#1的图像中,为url方案输入前缀(即使它表示后缀...)(例如:如果你使用myapp:// testing / here,那么在字段中输入“myapp”)

make sure #2 is flipped to yes 确保#2被翻转为是

Facebook iOS Settings Facebook iOS设置

This is an old thread, but after spending some time on this I realized that the https://fb.me/ ... links only open from within the Facebook app on the device. 这是一个老线程,但在花了一些时间后,我意识到https://fb.me/ ...链接只能从设备上的Facebook应用程序中打开。 They will not (and are not intended) to open from a web browser. 它们不会(也不打算)从Web浏览器打开。 After posting the link in a Facebook group I was able to successfully open my app with it. 在Facebook群组中发布链接后,我能够用它成功打开我的应用程序。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM