How to know if tweet fail/cancelled with web intents?


#1

First of all, i’m sorry for my english. Well im trying fire an event when twitter window close without tweet.
Im using web intents and I have an event to fire when tweet occurs (works like a charm), but i have no idea how to know if twitter window was closed without tweet. This is my code:

<a href="javascript:;" id="tw-video" class="sprite spritetwitter">TWITTER</a>

txt = encodeURI("https://twitter.com/intent/tweet?status=some txt");
document.getElementById('tw-video').href = txt;
twttr.events.bind('tweet', function (event) {
    $('#modal-twitter-success').modal();
});

i need something like:

twttr.events.bind('error/no-tweet', function (event) {
    $('#modal-twitter-error').modal();
});

Can anyone help me? Thanks for read.


#2

Hi!

I’m afraid this isn’t a feature we have available at present. It’s definitely a feature request I’d like to explore in the future, and it’s a good idea, but it’s not planned at present.

Ben


#4

Hi benward it’s sad that there is not this feature, I ended up giving up on what I was doing because of it. Thanks for your help anyway.


#5