我终其一生都无法找到如何通过 HTML 中的 anchor 来简单地打开 Pinterest 看板(如果安装了应用程序,则启动该应用程序)。
我看过:https://developers.pinterest.com ,但仍然找不到我要找的东西。似乎大多数文档都更倾向于固定项目的操作,而不是查看。
我只想打开一个用户配置文件。例如,我发现了以下非常适合替代社交媒体链接的内容:
<a href="fb://profile/23050834961">Facebook</a>
<a href="twitter://user?screen_name=NHLBruins">Twitter</a>
<a href="instagram://user?username=nhlbruins">Instagram</a>
虽然我能够启动 Pinterest 应用程序,但我不确定将传递哪些参数来打开 Pinterest 上的特定个人资料/图板:
<a href="pinterest://">Pinterest</a>
感谢:http://handleopenurl.com/寻求上述帮助,但似乎没有 Pinterest。有什么线索吗?
最佳答案
看起来 Pinterest 已经发布了一个 iOS SDK,并定义了一些 URLS:
别针
pinterest://pin/285063851385287883/
木板
pinterest://board/meaghanror/cats-cats-cats/
用户
pinterest://user/carlrice/
关于html - iOS Safari 上 Pinterest 的自定义 URL 方案以打开板 URL?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22624328/