【发布时间】:2016-06-14 11:12:35
【问题描述】:
FBSDKMessageDialog * shareDialog = [[FBSDKMessageDialog alloc] init];
FBSDKShareLinkContent *content = [[FBSDKShareLinkContent alloc] init];
content.contentDescription =@"HELLO";
content.contentURL = [NSURL URLWithString:@"http://202.258.69.3"];
shareDialog.shareContent = content;
shareDialog.delegate = self;
[FBSDKMessageDialog showWithContent:content delegate:self];
它总是给我提供如下错误
-canOpenURL: failed for URL: "fb-messenger-api:/" - error: "(null)" description :: 操作无法完成。 (com.facebook.sdk.share 错误 202。)
【问题讨论】:
-
您是否使用正确的键更新了 info.plist?
标签: ios objective-c iphone facebook