【问题标题】:iOS Facebook issue share link dialog, how to know User share success?iOS Facebook 发出分享链接对话框,如何知道用户分享成功?
【发布时间】:2018-02-26 14:01:54
【问题描述】:

当我选择 X 或 Post success 时,FBSDK(版本 4.26.0)总是回调相同的方法(设备不安装 Facebook 应用)

- (void)sharer:(id<FBSDKSharing>)sharer didCompleteWithResults:(NSDictionary *)results

结果为空

我如何知道它的用户共享成功或取消它?

请帮帮我!

我正在使用这种方法

FBSDKShareLinkContent *content = [[FBSDKShareLinkContent alloc] init];

content.contentURL = URL;

[FBSDKShareDialog showFromViewController:viewController withContent:content delegate:self];

【问题讨论】:

标签: ios objective-c facebook fbsdk


【解决方案1】:

我收到以下回电:

- (void)sharer:(id<FBSDKSharing>)sharer didCompleteWithResults:(NSDictionary *)results 
{
    NSLog(@"completed");
}

但问题是当我选择X(关闭分享界面)或Post(分享内容成功)时,FBSDK(4.26.0版)总是回调相同的方法didCompleteWithResults with results = empty

注意:设备未安装 Facebook 应用

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2013-05-31
    • 2018-11-02
    • 2014-05-31
    • 1970-01-01
    • 2013-07-30
    • 1970-01-01
    • 2013-11-23
    • 1970-01-01
    相关资源
    最近更新 更多