How to get Tweet ID from tweet event
dom-events, javascript, twitter
Solution
Web Intent events exist as a mechanism to trigger functionality in your page, not a data API.
The tweet event gets fired to indicate that a Tweet has happened, but we don't provide identifying information through the event payload: Intents function on your site without a user authorizing you access to their account, and providing a Tweet ID for an anonymous user's action would implicitly provide you with their identity.
Problem
I am using the Twitter web-intents / javascript API, and I'm a bit surprised. What I'd like to do is listen for an event after a tweet occurs. Following their example: ``` twttr.events.bind('tweet', function(event) { // Do something there }); ``` However, what I'd like to do is store the tweet id, or some other relevant information. If I take a look at the `event` object, there doesn't appear to be any relevant information in the `data` attribute. Is it possible to obtain the tweet ID (or any other details about the tweet) by listening to a tweet event?