0
votes

I am trying to implement Facebook App Links using the Mobile Hosted API. Everything goes smoothly but when I test the App Link URL the app doesn't open even if installed and the URL redirects to the App Store. The custom URL for my app is set properly as when I type the custom scheme inside Safari it does open the app. It seems that something is off but can't tell why.

Here is some data:

The url that I test in the browser is:

http://fb.me/780961121977733

This is the registered data with the Mobile Hosted API:

{
 id = 780961121977733;
  ios =(
     {
      "app_name" = GoPhrazy;
      "app_store_id" = 903559056;
       url = "gophrazy://playerPuzzle/leo3/1420663071896";
     }
  );
}

The custom url scheme is registered in the info.plist as: gophrazy://

I thought maybe the app_name case would affect it but I tested that to all lower with no effect.

Anyone has any tips on this?

Thanks

1
Are you sure the custom url is registered correctly? If you type gophrazy:// into Safari on the device, does it open your app?Ming Li
BTW, I just tried your fb.me url with a sample app and overrode the url scheme to be gophrazy, and it worked as expected for me.Ming Li
Hi Ming, Thanks for you help. Yes the custom url works. I tested it exactly as you mentioned. Weird that it doesn't work for me. Is it not supposed to work on the simulator maybe?Leonardo Amigoni
How are you able to test the Facebook app in a simulator?Ming Li
I just tested it on the device and it doesn't work either. I think I might be confused. I put the link in safari. I expect the link to open a page and redirect to the app if it's installed. Am I assuming this wrong?Leonardo Amigoni

1 Answers

0
votes

Url scheme in the info.plist MUST be always defined without leading ://