【问题标题】:Error while trying to invite friends from Facebook on Unity3D尝试在 Unity3D 上从 Facebook 邀请朋友时出错
【发布时间】:2016-02-16 21:43:14
【问题描述】:

我正在尝试通过 Unity3D 应用程序邀请朋友,但是当我使用非 fb.net/xxxxxxx facebook 自托管应用程序链接时,客队会收到此错误:

缺少应用链接网址 此邀请使用的应用链接不包含 Android 或 iOS URL。开发者必须输入至少一个平台的 URL。

尝试按照上面的答案配置页面,但没有成功 Facebook App Invite using Unity

这是我的应用链接 HTML:

<html>
<head>
    <title>App Link</title>
    <meta property="fb:app_id" content="111111111111"/>
    <meta property="al:ios:url" content="myapp://invite_from_fb?referral=123456"/>
    <meta property="al:ios:app_name" content="MyApp"/>
    <meta property="al:ios:app_store_id" content="111111111111"/>
    <meta property="al:web:should_fallback" content="false"/>
    <meta http-equiv="refresh" content="0;url=https://itunes.apple.com/WebObjects/MZStore.woa/wa/redirectToContent?id=1111111111"/>
</head>
<body>
    Redirecting...
</body>
</html>

我需要由 my 托管 applink,因为推荐 ID 是动态生成的。

提前致谢!

【问题讨论】:

  • facebook scraper 调试器说什么?
  • 抓取工具仅显示有关缺少 og:title、og:description 等的警告

标签: facebook unity3d facebook-unity-sdk


【解决方案1】:

我知道是什么导致了这个问题:

在 Facebook Settings-> App Link Schemes 中,我使用的是“myapp://”,正确的方式是“myapp”。

我现在工作正常。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多