I Facebook SDK bin mit 4.0, https://developers.facebook.com/docs/sharing/ios#share_dialog ich FBSDKShareDialog
bin mit Photo.It Teilt Foto zu teilen, wenn Benutzer Facebook-App installiert hat Aber es schlägt fehl, wenn Benutzer hasn 'tt FB App installiert. aber sie sagen "Wenn jemand die Facebook App nicht installiert hat, wird automatisch auf einen webbasierten Dialog zurückgegriffen." Idk whats wrong Bitte helfen Sie mir beim Teilen von Fotos mit FBSDK 4.0.FBSDKShareDialog nicht Foto ohne Facebook-App teilen installiert, IOS
Mein Code ist
FBSDKSharePhoto *photo = [[FBSDKSharePhoto alloc] init];
photo.image = self.capturedImageView.image;
photo.userGenerated = YES;
FBSDKSharePhotoContent *content = [[FBSDKSharePhotoContent alloc] init];
content.photos = @[photo];
[FBSDKShareDialog showFromViewController:self
withContent:content
delegate:self];
Dieser Fehlerbericht ist
error:"com.facebook.sdk:FBSDKErrorArgumentNameKey=shareContent, com.facebook.sdk:FBSDKErrorDeveloperMessageKey=Feed share dialogs support FBSDKShareLinkContent."
Können Sie mir bitte einige Beispiel Link, wie Sie FBSDKSharePhoto verwenden. Ich finde nicht facebook doc ist so hilfreich für mehrere Foto-Sharing –
@Dheeraj FBSDKSharePhotoContent, warum mit diesem ist es nicht möglich. Ich möchte ein Foto vom Bilderwähler hochladen. Warum sollte ich FBSDKShareLinkContent verwenden? Gibt es überhaupt einen FBSDKSharePhotoContent? Vielen Dank im Voraus –
tatsächlich unterstützt FBSDKShareDialog FBSDKSharePhotoContent auch: -/ – 0xDatou