我通过HTML页面在Facebook墙上发布我在页面上添加了所有元标记以及已配置的包ID& Facebook控制台上的appstore id也是。当我点击发布它重定向到Facebook内部浏览器但我想打开我的应用程序,如果它已安装或重定向到应用程序商店,如果没有。
<html prefix="og: http://ogp.me/ns#">
<head>
<meta charset="UTF-8">
<meta property="al:ios:url" content="artist://" />
<meta property="al:ios:app_store_id" content="49155" />
<meta property="al:ios:app_name" content="Artist" />
<meta property="fb:app_id" content="805534" />
<meta property="og:title" content="When Great Minds Don’t Think Alike" />
<meta property="og:description" content="How much does culture influence creative thinking?" />
<meta property="og:type" content="website" />
<meta property="og:image" content="http://fbdigi.hua.org/AAD/AA_app_icon.png" />
</head>
</html>
答案 0 :(得分:0)
我已添加以下代码&amp;有效:
最终应用链接代码:
<html prefix="og: http://ogp.me/ns#">
<head>
<meta charset="UTF-8">
<meta property="al:ios:url" content="artist://" />
<meta property="al:ios:app_store_id" content="49155" />
<meta property="al:ios:app_name" content="Artist" />
<meta property="al:web:should_fallback" content="false" />
<meta property="fb:app_id" content="805534" />
<meta property="og:title" content="The Rock" />
<meta property="og:type" content="website" />
<meta property="og:image" content="http://fbdigi.hua.org/AAD/AA_app_icon.png" />
</head>
</html>