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 方案 - 官方与否?


基础教程推荐
- AdMob 广告未在模拟器中显示 2022-01-01
- Android:getLastKnownLocation(LocationManager.NETWORK_PROVIDER 2022-01-01
- iPhone - 获取给定地点/时区的当前日期和时间并将其与同一地点的另一个日期/时间进行比较的正确方法 2022-01-01
- NSString intValue 不能用于检索电话号码 2022-01-01
- Cocos2d iPhone 非矩形精灵触摸检测 2022-01-01
- navigator.geolocation.getCurrentPosition 在 Android 浏览器上 2022-01-01
- 如何从 logcat 中删除旧数据? 2022-01-01
- iOS4 创建后台定时器 2022-01-01
- 通过重定向链接在 Google Play 中打开应用 2022-01-01
- libGDX 从精灵或纹理中获取像素颜色 2022-01-01