OGeek|极客世界-中国程序员成长平台

标题: ios - iOS 中的 Facebook 移动深度链接 [打印本页]

作者: 菜鸟教程小白    时间: 2022-12-12 20:07
标题: ios - iOS 中的 Facebook 移动深度链接

我是移动深度链接的新手。我想在 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 进行移动深度链接?



Best Answer-推荐答案


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

关于ios - iOS 中的 Facebook 移动深度链接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22380834/






欢迎光临 OGeek|极客世界-中国程序员成长平台 (http://sqlite.in/) Powered by Discuz! X3.4