X (Twitter) post ID
ID x_post_id
DatatypeNot PIIidentifierDraft
This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).
Number of a post (tweet) on X, formerly Twitter, as in https://x.com/i/status/20. Posts since November 2010 have Snowflake IDs of 18 or 19 digits that encode the creation time; earlier posts have shorter sequential numbers, the first public post being 20. APIs send the ID as a string because it does not fit a JavaScript number. The regexp is the format of Wikidata property P5933; any large integer matches it, so detect the type by field names such as tweet_id, status_id and post_id.
- Categories
- Texts and articles, Internet
- Countries
- Global (not tied to a country)
- Languages
- Common to most languages
- Wikidata
- P5933
- Quality
- 90/100 · missing: detector coverage
- Metacrafter rules
- no detection rule yet
- Supported by tools
- no tool record lists this type yet
Regular expression
^(?:[2-9]\d|[1-9]\d{2,18})$
Python re syntax.
Examples
| Value | Description |
|---|---|
| 20 | First post on Twitter, 21 March 2006 |
| 440322224407314432 | The Oscar selfie post, 2 March 2014 (Wikidata Q56682408) |
| 1888944671579078978 | Post cited in the Wikipedia article on Snowflake IDs |
| https://x.com/i/status/20 invalid | A URL, not the ID |
Translations
| Language | Name | Description |
|---|---|---|
| Russian | Идентификатор публикации в X (Twitter) | Номер публикации (твита) в X, ранее Twitter. С ноября 2010 года это идентификатор Snowflake из 18–19 цифр. |
Sources
- wikidata: https://www.wikidata.org/wiki/Property:P5933
- wikipedia: https://en.wikipedia.org/wiki/Twitter
Use this record
- Page URL:
https://registry.apicrafter.io/datatype/x_post_id - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/texts/x_post_id.yamlon GitHub