Reputation: 11799
I'm using FB.ui
to create a send dialog... I'm trying to get a callback after the user sent the message, but it's not working for some reason.
I tried to use FB.event.subscribe
FB.ui({
method: 'send',
name: 'You\'re invited to join!',
link: 'http://anexample.com',
});
FB.Event.subscribe('message.send',
function(response){
alert('You sent a message from the URL ' + response);
}
);
Could anyone tell me what could be the problem with the subscribe ? The send works just fine.
Upvotes: 1
Views: 930