A few days ago, the deep link I used for opening a Facebook profile directly in the Facebook app (if installed) stopped working. It opens the Facebook app, but displays the error message "This content isn't available".
My current implementation:
if application.canOpenURL(URL(string:"fb://")!) {
if let appUrl = URL(string: "fb://profile?id=\(profile)") {
application.open(appUrl)
} else {
print("couldn't open facebook url")
}
}
Value added to Queried URL Schemes in Info.plist: fb (this was enough). Is there another way to do this?