Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"fb://" url scheme - official or not?

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!

like image 732
Samuli Viitasaari Avatar asked Oct 27 '11 16:10

Samuli Viitasaari


People also ask

Does every app have a URL scheme?

Some app developers publish their universal URLs, and some do not. Not every app has a universal URL. (I.e., It may not be possible to create a 3rd-party app tile in Campus Cloud Studio to launch your app.)

What is URL scheme?

URL schema is used as an identifier in launching applications and performing a set of commands in iOS devices. The schema name of a URL is the first part of a URL. (e.g. schemaname:// ). For web pages, the schemas are usually http or https.

How do I register a URL scheme?

Register your URL schemeRegister your scheme in Xcode from the Info tab of your project settings. Update the URL Types section to declare all of the URL schemes your app supports, as shown in the following illustration. In the URL Schemes box, specify the prefix you use for your URLs.

What are all the custom URL schemes supported by the Facebook Android app?

fb://profile – Open Facebook app to the user's profile. fb://friends – Open Facebook app to the friends list. fb://feed – Open Facebook app to the News Feed. fb://events – Open Facebook app to the Events page.


1 Answers

It's there to support the iOS push notification system (i.e. you get a push notification that says "Friend's Name tagged you in a photo", and you tap on it, it takes you straight to the photo).

I'd assume it's not intended for third party use and therefore subject to change. Hell, Facebook's public-facing APIs are subject to change on a whim anyhow, so I'd be especially cautious about something they hadn't documented.

like image 110
Mike Ruhlin Avatar answered Sep 20 '22 11:09

Mike Ruhlin