【问题标题】:Facebook mobile deep linking in iOSiOS 中的 Facebook 移动深度链接
【发布时间】:2014-03-13 13:55:43
【问题描述】:

我是移动深度链接的新手。我想在 Facebook 上分享帖子时进行深度链接。我关注了Facebook deep linking reference,但这是使用 Facebook 共享对话框完成的,但我在我的应用程序中使用了SLComposeViewController

要进行深度链接,我遵循以下步骤:

1) I have added Facebook app id in info.plist, URL Types.
2) Also in Facebook app page, 
    -- iOS Bundle ID: my bundle ID (checked it, correct) 
    -- iPhone AppStore ID: the ID (checked it, correct)
    -- iPad AppStore ID: the ID (checked it, correct)
    -- iOS SSO: Enabled 
    -- iOS Native Deep Linking: Enabled 
    -- URL Scheme Suffix: my website url

我可以错过什么吗?

如何使用SLComposeViewController进行移动深度链接?

【问题讨论】:

  • 你找到方法了吗?据我所知,你不能。必须使用 sdk 共享的东西。但我很想错。

标签: ios iphone facebook deep-linking


【解决方案1】:

here 找到解决方案。如果我使用SLComposeViewController 在 Facebook 上分享了帖子,那么在 Facebook 上的帖子会显示为“通过 iOS”。因此,我的深层链接没有发生。但是当我使用SLRequest 分享我的帖子时,我的帖子会显示为“via xxx”,并且我的深层链接工作正常。

【讨论】:

    最近更新 更多