Search code examples
javascriptapitwittersttwitterapi

how do i make sure the user tweeted or not [ i mean tweeted not clicked on a tweet button ]?


I'm gonna give a user discount when he tweeted through my website but I want to make sure that the user actually tweeted, not just clicked on a tweet button. I have tried `

twttr.ready(function (twttr) {
   twttr.events.bind('tweet', function(event) {
      console.log(event);
   });
});

but this detects only that the user clicked on a tweet button.


Solution

  • Well I don't get the scenario but you can do a lot of options to assure he tweets or not: