iHasApp: detect installed apps on a user's device
github.com
github.com
I find it distasteful that it's being heavily used for analytics instead of building great workflows. Look at all the apps that integrate with Facebook's tracking: "fb..."
Let's say your app has a "share to FB" button, you'd poke the iOS Api by calling a method and passing both the facebook://shareSomething URI and the http://www.facebook.com/?sharestuff URI as a second parameter in case the app-specific URI is not handled by the device.
A better solution would be using the share sheet, so any app that supports the type of data you're sharing, can make use of it.