“fb://"url 方案 - 官方与否?

quot;fb://quot; url scheme - official or not?(“fb://url 方案 - 官方与否?)

本文介绍了“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 方案 - 官方与否?

基础教程推荐