That code placed on the localhost:
<script type="text/javascript" src="//platform.twitter.com/widgets.js"></script>
<p><a href="https://twitter.com/intent/favorite?tweet_id=134363712235651073">Favorite</a></p>
<script type="text/javascript">
twttr.events.bind('favorite', function(event) {
var favorited_tweet_id = event.data.tweet_id;
alert('yes! favorite of: ' + favorited_tweet_id);
});
</script>
After popup appears:
- When u click first time Favorite - nothing happens (chrome + firefox)
- After second time content in popup changes and popup closes (chrome + firefox)
- Nothing happens (chrome + firefox)
So events twttr.events.bind dont work with “favorite” and “retweet”(same situation). Soo… is it bag or u r forgot delete that from api?)