ich auf dem Facebook-Sharing stecken ..Facebook Sharing mit Bild und applinks
Alles, was ich will, ist ein Bild von meiner iOS-App zu veröffentlichen, mit Text und AppLink, dass Benutzer installiert App oder App Store umleiten.
App Link funktioniert gut, ich beschrieb einige Metatags wie folgt aus:
<meta property="al:ios:url" content="cubeDev://" />
<meta property="al:ios:app_store_id" content="1054030..." />
<meta property="al:ios:app_name" content="My app name" />
<meta property="al:web:should_fallback" content="false" />
<meta property="og:image:width" content="50" />
<meta property="og:image:height" content="50" />
<meta property="og:image" content="https://spb.hh.ru/employer-logo/1625583.png" />
<meta property="og:type" content="website" />
<meta property="og:title" contetn="title" />
<meta property="og:description" content="App description.." />
<meta property="fb:app_id" content="31667067867..." />
Code Teilen auch recht einfach:
FBSDKShareLinkContent *content = [[FBSDKShareLinkContent alloc] init];
content.contentURL = [NSURL URLWithString:@"http://176.31.132.151:8000/"];
content.imageURL = [feedCell imageURL];
content.quote = [feedCell text];
FBSDKShareDialog *shareDialog = [[FBSDKShareDialog alloc] init];
shareDialog.mode = FBSDKShareDialogModeNative;
if(!shareDialog.canShow) {
shareDialog.mode = FBSDKShareDialogModeFeedBrowser;
}
shareDialog.fromViewController = self;
shareDialog.shareContent = content;
shareDialog.delegate = self;
[shareDialog show];
Wo http://176.31.132.151:8000/ meine App-Link ist.
Es scheint, als wenn Sie ein Bild in Meta-Tags für App-Link, Bild-URL Eigenschaft beschreiben wird nicht funktionieren ..
Also, mein Ziel ist es, ein Bild von App mit Text und App-Link unten posten mit meiner App Symbol und Beschreibung ..
Wir werden für jede Hilfe dankbar sein.