" FB://"网址计划 - 不是官方的? [英] "fb://" url scheme - official or not?

查看:157
本文介绍了" FB://"网址计划 - 不是官方的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

某些开发博客已经发布了关于在Facebook iPhone App中打开各种视图的fb://url方案的信息。无论我搜索了多少,我没有从任何官方的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.

由于信息是公开的,我敢肯定我不是唯一想知道的人,无论使用这个网址计划是否正式获得批准,我是否允许使用它,它是否正常工作,如果它不被批准,那么它将会是什么样的

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!

推荐答案

p>仅适用于iOS。 iOS API可让您定义你自己的URL方案,所以Facebook必须开发他们的应用程序来注册 fb:// URL方案iOS设备。这不是苹果公司创建的功能,这是开发人员可以弥补的。

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

  • 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://"网址计划 - 不是官方的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆