Android中的Facebook应用程序链接无法从我的测试服务器运行

时间:2015-03-12 14:03:09

标签: android facebook applinks

我试图为我的应用程序测试应用程序链接但没有成功。 我在我的开发机器上创建了一个简单的IIS Web应用程序,其中包含一个test.html页面:

<html>
    <head>
        <title>test</title>
        <meta property="al:android:package" content="com.test.debug">
        <meta property="al:android:app_name" content="test">
    </head>
    <body>
     <H1>123</H1>
    </body>
</html>

在我的AndroidManifast.xml中,我插入了以下意图过滤器:

<intent-filter>
  <action android:name="android.intent.action.VIEW" />
  <category android:name="android.intent.category.DEFAULT" />
</intent-filter>

现在从Android设备的浏览器中,我转到我的开发机器中的url。即http://10.1.10.125/testFB/test.html,并分享页面。

然后从我的Facebook应用程序的墙上点击链接。但该应用程序无法打开 - 它会在内部网页浏览中显示该网页。

我也尝试使用架构(从facebook文档中复制)但没有成功。

我做错了什么?

0 个答案:

没有答案