quot;fb://quot; url scheme - official or not?(“fb://url 方案 - 官方与否?)
问题描述
一些开发博客发布了有关fb://"url 方案的信息,用于在 Facebook iPhone 应用程序中打开各种视图.无论我搜索了多少,我都没有从任何官方 Facebook 资源中找到一个关于此的字词.
Some dev blogs have published information about the "fb://" url scheme for opening various views in the Facebook iPhone App. No matter how much I've searched, I haven't found one word from any official Facebook source about this.
既然信息是公开的,我敢肯定不是只有我想知道,使用这个 url 方案是否得到官方批准,我是否可以使用它,它是否正常工作,以及如果没有获得批准,会批准吗?大概的时间表是什么?
Since the information is public anyways, I'm sure I'm not the only one who'd like to know, whether using this url scheme is officially approved, am I allowed to use it, does it work correctly, and if it's not approved, will it be and what's the approximate schedule for that?
提前感谢您提供有关此主题的任何信息!
Thanks in advance for any info on this subject!
推荐答案
仅适用于 iOS.iOS API 让您 定义你自己的 URL 方案,所以 Facebook 必须开发他们的应用程序来在 iOS 设备上注册 fb://
URL 方案.这不是 Apple 创造的功能,而是您(开发者)可以弥补的东西.
It's for iOS only. The iOS API lets you define you own URL scheme, so Facebook must have developed their application to register the fb://
URL scheme on iOS devices. It's not a feature that was created by Apple, it's something you, the developer, can make up.
这里有一些你可以调查的资源
Here are some resources you can investigate
- Facebook iOS SDK
- 在 StackOverflow 上
- 工作原理教程(非 Facebook 特定)
- The Facebook iOS SDK
- Here on StackOverflow
- A tutorial on how it works (not Facebook-specific)
您可以在 iOS 上的自己的应用程序中使用它,但前提是安装了 Facebook 应用程序.但是,有一些插件和浏览器扩展通过处理桌面浏览器上的 fb://
架构来模仿这种行为.
You can use it from your own applications on iOS, but only if the Facebook application is installed. There are, however, plugins and browser extensions out there that mimic the behavior by handling the fb://
schema on your desktop browser.
这篇关于“fb://"url 方案 - 官方与否?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:“fb://"url 方案 - 官方与否?


基础教程推荐
- 在 gmail 中为 ios 应用程序检索朋友的朋友 2022-01-01
- 如何在 iPhone 上显示来自 API 的 HTML 文本? 2022-01-01
- 如何在 UIImageView 中异步加载图像? 2022-01-01
- Kivy Buildozer 无法构建 apk,命令失败:./distribute.sh -m “kivy"d 2022-01-01
- 如何在没有IB的情况下将2个按钮添加到右侧的UINavigationbar? 2022-01-01
- 如何让对象对 Cocos2D 中的触摸做出反应? 2022-01-01
- UIWebView 委托方法 shouldStartLoadWithRequest:在 WKWebView 中等效? 2022-01-01
- Android:对话框关闭而不调用关闭 2022-01-01
- 当从同一个组件调用时,两个 IBAction 触发的顺序是什么? 2022-01-01
- android 应用程序已发布,但在 google play 中找不到 2022-01-01