Select Menu

Slider

Windows

Apple | Mac

Linux

Mobile

Hardware

Tutorial

Android

» » » » » Facebook For Android Beta 3.5 Finally Starts Opening (Some) Facebook.com Links In The App Instead Of The Browser
«
Next
Newer Post
»
Previous
Older Post

Starting with v3.5, the Facebook app finally registers itself as one of the apps capable of opening facebook.com links, so that when you click on, say, a new comment email notification, Facebook is right there instead of all your installed browsers. Hallelujah.
The support is very limited so far - in fact, only links that start with facebook.com/n (n stands for notifications, presumably) are being handled at the moment. This means that something likehttp://www.facebook.com/example  won't work just yet, but something like this will.
I dug into the code and indeed - version 3.5 is only setting the Intent filter for facebook.com/n/. Version 3.4, in comparison, had no filters at all.
<intent-filter>
    <action android:name="android.intent.action.VIEW" />
    <category android:name="android.intent.category.DEFAULT" />
    <category android:name="android.intent.category.BROWSABLE" />
    <data android:scheme="http" android:host="www.facebook.com" android:pathPrefix="/n/" />
    <data android:scheme="https" android:host="www.facebook.com" android:pathPrefix="/n/" />
    <data android:scheme="http" android:host="m.facebook.com" android:pathPrefix="/n/" />
    <data android:scheme="https" android:host="m.facebook.com" android:pathPrefix="/n/" />
</intent-filter>
It's a good start - I hope Facebook will expand support for regular links as well next.
Screenshot_2013-07-17-11-44-24 Screenshot_2013-07-17-11-44-33 Screenshot_2013-07-17-11-44-50

Source : Android Police

About Unknown

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
«
Next
Newer Post
»
Previous
Older Post

No comments

Leave a Reply