Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS 9 - Facebook fails to open installed iOS app

Tags:

facebook

ios9

iOS 9 & Facebook question

Before iOS9, a Facebook post could successfully redirect an user to an installed app via short URL (like bet365://). Now, in iOS 9, bet365:// gives invalid link. From Safari it redirects fine, but not from Facebook browser. This is just an example, there are other apps that can't be opened from FB.

What do I need to do in order to open an installed iOS app from a Facebook post (in iOS9)?

PS: I understood that now, in iOS9, if Myapp1 wants to open Myapp2, it will need to populate info.plist with LSApplicationQueriesSchemes like this:

<key>LSApplicationQueriesSchemes</key>
<array>
<string>url_to_Myapp2</string>
</array> 

but it's strage to belive that Facebook will have to do the same with the apps he wants to open.

Many thanks!

like image 683
Ionut Avatar asked Sep 21 '15 13:09

Ionut


People also ask

Does iOS 9 support Facebook?

Currently, Facebook supports iOS 8 or later.

Why is my Facebook app not opening on my iPhone?

Check Facebook Update. Many times, apps stop working because they need to be updated. So, you need to make sure that you have an up-to-date version of the Facebook app on your iPhone. Once the Facebook app is updated successfully, then again open the app and check if now the app is working or not.

Why Facebook is not opening in app?

If your Facebook is not loading, you need to check your storage space from the Settings first. If your phone storage is reading less than 100MB, your Facebook app might not open at all, or crash along the way. In fact, we recommend you have up to 200MB free storage space for your device to function effectively.

Do apps work on iOS 9?

Almost all apps installed on iOS 8 should work correctly in iOS 9. If not, the app developer will likely release an update to address the issue.


1 Answers

Just got a reply from Facebook.. So my assumption was correct, Facebook needs to update their own info.plist in order to open other iOS apps with short urls..

UPDATE: However, I've been digging a lot and found out that you can open your app from a Facebook post with AppLinks, which works perfect. Full documentation on applinks.org.

What Facebook doesn't mention is that you need scrape the website you modify, in order for changes to take effect. One way to do it is to copy paste the website address in https://developers.facebook.com/tools/debug/og/object/ and apply "Fetch new scrape information", otherwise it won't work.

like image 92
Ionut Avatar answered Oct 23 '22 03:10

Ionut