Unique Tweet ID



Is that every tweets has Unique Id like users?
If so, where should I find?

Thank you


Yes, all tweet IDs are unique 64bit integers, it’s the last part of a tweet permalink, or the id field in a status object. id_str is also included because some languages like javascript can’t handle large integers.

I see a twitter4j tag, so in Java: the twitter4j Status object has a getId() method that returns a long.


Thank you, so retweet also have unique ID?
And this ID is different from original ID or same?


Exactly - Retweets have their own id, and contain a retweeted_status object - which has the original tweet. (status.getRetweetedStatus() in twitter4j will return that if status.isRetweet() is True)