Twitter Share/Tweet


#1

Need help regarding social sharing functionality.
When any customer share/tweet any product information to his/her account from website then i need tweet id to check successful post.

So i need to track tweet is successfully posted on customer’s account or not ? If successfully posted then alert tweet id and if not then alert error message.

I am trying to do this with below events but its not working.

twttr.events.bind(
  'like',
  function(event) {
    var likedTweetId = event.data.tweet_id;
  }
);

So is there any way to track tweet that is successfully posted in customer’s account ?

Thanks


#2

Twitter does not provide a Tweet ID when a Tweet action leads to the creation of a Tweet.

A Tweet action event fires on viewer interaction, before they are possibly taken into the Twitter app on iOS or Android or a new tab on mobile web to complete the action.


#3