[英]iOS Facebook issue share link dialog, how to know User share success?
When I choose X or Post success, FBSDK
(version 4.26.0) always callback the same method (Device don't install Facebook app) 当我选择X或成功发布时,
FBSDK
( FBSDK
版)总是回调相同的方法(设备不安装Facebook应用)
- (void)sharer:(id<FBSDKSharing>)sharer didCompleteWithResults:(NSDictionary *)results
results is empty 结果为空
How can I know it's user shared success or cancel it? 我怎么知道是用户共享成功还是取消了?
Please help me! 请帮我!
I'm using this method 我正在使用这种方法
FBSDKShareLinkContent *content = [[FBSDKShareLinkContent alloc] init];
content.contentURL = URL;
[FBSDKShareDialog showFromViewController:viewController withContent:content delegate:self];
I received the callback below: 我收到以下回调:
- (void)sharer:(id<FBSDKSharing>)sharer didCompleteWithResults:(NSDictionary *)results
{
NSLog(@"completed");
}
but the problem is when I choose X (To close the sharing interface) or Post (To share the content successfully), FBSDK (version 4.26.0) always callback same method didCompleteWithResults with results = empty 但是问题是当我选择X(关闭共享界面)或Post(成功共享内容)时,FBSDK(4.26.0版)始终使用相同的方法didCompleteWithResults回调,结果为空
Noted: device doesn't install Facebook App 注意:设备未安装Facebook App
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.