Archive for February 24th, 2010


iPhone Facebook URLs

So seems everyone wants to integrate their iPhone apps with Facebook these days; and it may be of interest to you to know that there’s some undocumented options to the Facebook iPhone app’s custom URL scheme to control its behaviour:

  • fb://profile – Open Facebook app to the user’s profile
  • fb://friends – Open Facebook app to the friends list
  • fb://notifications – Open Facebook app to the notifications list (NOTE: there appears to be a bug with this URL. The Notifications page opens. However, it’s not possible to navigate to anywhere else in the Facebook app)
  • fb://feed – Open Facebook app to the News Feed
  • fb://events – Open Facebook app to the Events page
  • fb://requests – Open Facebook app to the Requests list
  • fb://notes- Open Facebook app to the Notes page
  • fb://albums – – Open Facebook app to Photo Albums list

Now, what you’re really looking for no doubt — at least, that’s what we were looking for today — was trying to figure out how to get the user to be able to join a particular fan page more elegantly than loading its URL in Safari, because of course your typical iPhone user probably isn’t logged into the browser, since well there’s this native app and all.

Well, this followup post to the above claims you can do that by adding the fan page’s ID to fb://profile as a path. BUT IT LIES. Maybe the procedure described worked with whatever version was current when that was written … but with 3.12 the latest as of today, nope you can only open to your own profile; trying to load someone else’s fan page we find this — or any other sensible attempt we can think of to pass a designated page ID — fails. Bah.

Anyone out there manage to get this to work with other people’s fan pages? Or come up with some better way to handle the ‘join fan page X’ design requirement than just passing its URL off to Safari? If so, please share!