Become a MacRumors Supporter for $25/year with no ads, private forums, and more!


macrumors regular
Original poster
Jul 20, 2011
I want to open my application when a link is tapped in Facebook or Twitter. The link will be something like this ""

I arranged info.plist in my application URLTypes and URLSchemes like mywebsite
Here how it looks.

But when i tap the shared link in Facebook then Safari is opened not my application. How can i make to open my application when the link is tapped ?


macrumors newbie
Jan 22, 2015
You need to host a file on your website that contains your app's bundle id, along with the subdomains that it is allowed to intercept. I assume that this is to ensure that you own both the website and the app, to stop apps, for instance, intercepting any link to

There is a good explanation here:

One other thing to be aware of that tripped me up. When your app is first installed, iOS will go to your site to download the hosted file (the one that contains your app's bundle id). This can only be done using https though, http will fail. This happens even if you have specified that you allow that domain as http in your info.plist, because it isn't your app that is making that request, it is iOS. So you will need to get an SSL certificate if you don't already have one.
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.