L
L
lleaf2012-12-20 14:19:39
Twitter
lleaf, 2012-12-20 14:19:39

Twitter: Tweet track / Content per tweet?

Good afternoon, dear ones :)
We offer users the opportunity to tweet a link to our wonderful site by
opening the URL in the popup: “ twitter.com/intent/tweet?original_referer=localhos... ”
Tell me - is it possible to determine whether the user really made a tweet or just closed the window.
I would be extremely grateful for any link to an article on the issue of "PayWithATweet" - give the user content only after a certain tweet.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
MaxUp, 2012-12-20
@MaxUp

you need to check the user's feed. As an example - an add-on for wordpress (support g+, twitter, facebook).
Perhaps a free solution from Cloudflood will suit you .

R
Ruslan, 2012-12-21
@rOOse

dev.twitter.com/docs/intents/events
You need to attach your own function to the tweet event, like:

<a href="https://twitter.com/share" class="twitter-share-button" data-via="mr_roose" data-lang="ru">Твитнуть</a>

<script type="text/javascript">
    window.twttr = (function (d,s,id) {
        var t, js, fjs = d.getElementsByTagName(s)[0];
        if (d.getElementById(id)) return; js=d.createElement(s); js.id=id;
        js.src="//platform.twitter.com/widgets.js"; fjs.parentNode.insertBefore(js, fjs);
        return window.twttr || (t = { _e: [], ready: function(f){ t._e.push(f) } });
    }(document, "script", "twitter-wjs"));

function tweet_dl(intent_event) {
    console.log('тадам!!!'); //ну или что-то типа этого.
}
twttr.ready(function (twttr) {
    twttr.events.bind('tweet', tweet_dl);
});
</script>

O
OCTAGRAM, 2012-12-21
@OCTAGRAM

Dropbox, as far as I remember, first authorizes its own application on Twitter, then this application, using the rights received, posts a tweet

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question