我试图通过facebook'发送'按钮跟踪发送消息。但它不起作用:
<script>
window.fbAsyncInit = function() {
FB.Event.subscribe('message.send', function(response) {
alert('!');
console.log('test');
});
console.log('subscribed');
};
// Load the SDK Asynchronously
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=212647215514142";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
您可以在此处试用:http://makedreamprofits.ru/!tests/fb-send.htm
坦率地说,我在这里看不到任何错误,这是facebook的错误吗?
答案 0 :(得分:0)