2016-10-19 6 views
0

Ich poste auf Facebook Wand über HTML-Seite Ich habe alle Meta-Tags auf Seite sowie konfiguriert Bundle-ID & Appstore-ID auf Facebook-Konsole auch hinzugefügt. Wenn ich auf den Post klicke, wird er auf den internen Facebook-Browser umgeleitet, aber ich möchte meine App öffnen, wenn sie installiert ist, oder auf den App Store umleiten, falls nicht.Facebook Post Deep Link (App Links) zu iOS App

<html prefix="og: http://ogp.me/ns#"> 
<head> 

<meta charset="UTF-8"> 
<meta property="al:ios:url" content="artist://" /> 
<meta property="al:ios:app_store_id" content="49155" /> 
<meta property="al:ios:app_name" content="Artist" /> 

<meta property="fb:app_id" content="805534" /> 

<meta property="og:title"    content="When Great Minds Don’t Think Alike" /> 
<meta property="og:description"  content="How much does culture influence creative thinking?" /> 
<meta property="og:type"    content="website" /> 
<meta property="og:image"    content="http://fbdigi.hua.org/AAD/AA_app_icon.png" /> 

</head> 
</html> 

Antwort

0

Ich habe unten Code hinzugefügt & es funktionierte:

Finale App Linkcode:

<html prefix="og: http://ogp.me/ns#"> 
<head> 
<meta charset="UTF-8"> 
<meta property="al:ios:url" content="artist://" /> 
<meta property="al:ios:app_store_id" content="49155" /> 
<meta property="al:ios:app_name" content="Artist" /> 
<meta property="al:web:should_fallback" content="false" /> 
<meta property="fb:app_id" content="805534" /> 
<meta property="og:title" content="The Rock" /> 
<meta property="og:type" content="website" /> 
<meta property="og:image" content="http://fbdigi.hua.org/AAD/AA_app_icon.png" /> 

</head> 
</html> 
Verwandte Themen