【问题标题】:Facebook link to be opened in app instead of browser [duplicate]Facebook链接将在应用程序而不是浏览器中打开[重复]
【发布时间】:2012-07-01 03:05:55
【问题描述】:

可能重复:
launch facebook app from other app

我正在寻找是否可以执行以下操作:

要有一封电子邮件,其中包含指向 Facebook 页面的社交链接,但点击后,它不会打开您的手机浏览器,而是打开官方 Facebook 应用程序。

有人知道这是否可能吗?

谢谢!

【问题讨论】:

    标签: android iphone facebook html


    【解决方案1】:

    您可以使用以下选项:

    fb://profile – Open Facebook app to the user’s profile
    fb://friends – Open Facebook app to the friends list
    fb://notifications – Open Facebook app to the notifications list (NOTE: there appears to be a bug with this URL. The Notifications page opens. However, it’s not possible to navigate to anywhere else in the Facebook app)
    fb://feed – Open Facebook app to the News Feed
    fb://events – Open Facebook app to the Events page
    fb://requests – Open Facebook app to the Requests list
    fb://notes- Open Facebook app to the Notes page
    fb://albums – - Open Facebook app to Photo Albums list
    

    还有更多。至于android可能有类似的东西。 较新版本的 Android FB 应用程序可能使用相同的 URL。我没有可以检查的设备。

    【讨论】:

    • 这是正确的答案,但请注意,其中一些方案很麻烦,而且效果很差。对此没有官方文档,因此将来可能不支持。
    • 确实如此,但这是唯一的方法。
    猜你喜欢
    • 2016-09-16
    • 1970-01-01
    • 1970-01-01
    • 2016-06-03
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-05-27
    • 2019-07-10
    相关资源
    最近更新 更多