1
我有下面这样的代码:FB.ui共享对话后和取消具有相同的响应
FB.ui({
method: 'share',
title: 'test',
href: 'http://google.com',
picture: 'http://google.com/blah.jpg',
caption: 'test caption',
description: 'test description'
}, function(response) {
if (response && !response.error_code) {
window.location="{{ config('app.url') }}/user/share/" + announcementId;
} else {
window.location=redirectUrl;
}
});
用于取消并张贴在共享对话框Facebook的响应具有空数组的响应。当用户点击取消按钮时,我将如何跟踪用户?
这是由设计。为什么你需要知道他们是否取消? – WizKid
,因为我想跟踪用户交互 –