iOS Facebook 发出分享链接对话框,如何知道用户分享成功?
<p><p>当我选择 X 或 Post success 时,<code>FBSDK</code>(版本 4.26.0)总是回调相同的方法(设备不安装 Facebook 应用)</p>
<pre><code>- (void)sharer:(id<FBSDKSharing>)sharer didCompleteWithResults:(NSDictionary *)results
</code></pre>
<p>结果为空</p>
<p>我如何知道它的用户共享成功或取消它?</p>
<p>请帮帮我!</p>
<p>我正在使用这种方法</p>
<pre><code>FBSDKShareLinkContent *content = [ init];
content.contentURL = URL;
;
</code></pre></p>
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><p>我收到以下回电:</p>
<pre><code>- (void)sharer:(id<FBSDKSharing>)sharer didCompleteWithResults:(NSDictionary *)results
{
NSLog(@"completed");
}
</code></pre>
<p>但问题是当我选择X(关闭分享界面)或Post(分享内容成功)时,FBSDK(4.26.0版)总是回调相同的方法didCompleteWithResults with results = empty </p>
<p>注意:设备未安装 Facebook 应用</p></p>
<p style="font-size: 20px;">关于iOS Facebook 发出分享链接对话框,如何知道用户分享成功?,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/46272413/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/46272413/
</a>
</p>
页:
[1]