You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: x-api/fundamentals/data-dictionary.mdx
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,12 +56,12 @@ Use `tweet.fields` to request additional fields and `expansions` to include rela
56
56
|**geo**| object | Indicates the location or place of a geo-tagged Tweet. | Use this to determine get location of a geo-tagged Tweet. |
57
57
|**in_reply_to_user_id**| string | If the represented Tweet is a reply, this field will contain the original Tweet’s author ID. | Determine if a Tweet was in reply to another Tweet. |
58
58
|**lang**| string | Language of the Tweet, if detected by Twitter. | Classify Tweets by spoken language. |
59
-
|**non_public_metrics**| object | Non-public engagement metrics for the Tweet at the time of the request. Requires user context authentication. | Determine total impressions generated for the Tweet. |
59
+
|**non_public_metrics**| object | Non-public engagement metrics for the Tweet at the time of the request. Requires user context authentication. Includes `impression_count`, `user_profile_clicks`, `url_link_clicks`, and `engagements`.| Determine total impressions and engagement generated for the Tweet. |
60
60
|**note_tweet**| object | Contains the full text of a Post for long-form Posts (>280 characters). | Get the complete text of a post. |
61
61
|**organic_metrics**| object | Engagement metrics, tracked in an organic context, for the Tweet at the time of the request. Requires user context authentication. | Measure organic engagement for the Tweet. |
62
62
|**possibly_sensitive**| boolean | Indicates if the content may be recognized as sensitive. | Study circulation of certain types of content. |
63
63
|**promoted_metrics**| object | Engagement metrics, tracked in a promoted context, for the Tweet at the time of the request. Requires user context authentication. | Measure engagement for the Tweet when it was promoted. |
64
-
|**public_metrics**| object | Public engagement metrics for the Tweet at the time of the request. | Measure Tweet engagement. |
64
+
|**public_metrics**| object | Public engagement metrics for the Tweet at the time of the request. Includes `retweet_count`, `reply_count`, `like_count`, `quote_count`, `impression_count`, and `bookmark_count`. | Measure Tweet engagement. |
65
65
|**referenced_tweets**| array | A list of Tweets this Tweet refers to, such as Retweets, quoted Tweets, or replies. | Understand conversational aspects of retweets, etc. |
66
66
|**reply_settings**| string | Shows who can reply to a given Tweet. Options are "everyone", "mentioned_users", and "followers". | Determine conversation reply settings for the Tweet. |
67
67
|**withheld**| object | Contains withholding details for [withheld content](https://help.x.com/en/rules-and-policies/tweet-withheld-by-country). ||
@@ -130,7 +130,9 @@ curl --request GET 'https://api.x.com/2/tweets?ids=1212092628029698048&tweet.fie
130
130
"retweet_count": 7,
131
131
"reply_count": 3,
132
132
"like_count": 38,
133
-
"quote_count": 1
133
+
"quote_count": 1,
134
+
"bookmark_count": 2,
135
+
"impression_count": 1250
134
136
},
135
137
"context_annotations": [
136
138
{
@@ -305,7 +307,9 @@ curl --request GET 'https://api.x.com/2/tweets?ids=1212092628029698048&tweet.fie
**You cannot request subfields.** When you request `public_metrics`, you get all metrics (likes, reposts, replies, quotes). You can't request just `public_metrics.like_count`.
181
+
**You cannot request subfields.** When you request `public_metrics`, you get all metrics (likes, reposts, replies, quotes, bookmarks, impressions). You can't request just `public_metrics.like_count`.
180
182
</Warning>
181
183
182
184
- Field order in responses may differ from request order
Copy file name to clipboardExpand all lines: x-api/posts/timelines/migrate/overview.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ The following tables compare the standard v1.1 and X API v2 home timeline endpoi
35
35
| Timeline navigation options | since_id (exclusive) used for update polling<br/><br/>`max_id` (inclusive) |`start_time`<br/><br/>end_time<br/><br/>`since_id`(exclusive) used for update polling <br/><br/>`until_id` (exclusive) |
36
36
| Optional parameters for results refinement |`count`<br/><br/>`exclude_replies`<br/><br/>`include_rts`<br/><br/>`trim_user`<br/><br/>`tweet_mode`<br/><br/>`since_id`<br/><br/>`max_id`|`max_results`<br/><br/>`exclude`(retweets,replies)<br/><br/>`tweet.fields`<br/><br/>`user.fields`<br/><br/>`place.fields`<br/><br/>`media.fields`<br/><br/>`poll.fields`<br/><br/>`expansions`<br/><br/>`start_time`<br/><br/>`end_time`<br/><br/>`since_id`<br/><br/>`until_id`|
37
37
| Supports requesting and receiving [annotations](/x-api/fundamentals/post-annotations)| N/A | If annotations are included in tweet.fields, results will be annotated with inferred annotation data based on the Post text, such as 'Music Genre' and 'Folk Music' or 'Musician' and 'Dolly Parton' |
38
-
| Supports requesting and receiving specific Post [metrics](/x-api/fundamentals/metrics)| N/A | If annotations are included in `tweet.fields`, results will be annotated with public_metrics per Post including `retweet_count`, `reply_count`, `quote_count` and `like_count`, `non_public_metrics` , including `impression_count`, `user_profile_clicks`, `url_link_clicks`.<br/><br/>Additional media metrics such as view_count and video playback metrics.<br/><br/>Additional organic\_metrics and promoted\_metrics available with User Context for promoted Posts. |
38
+
| Supports requesting and receiving specific Post [metrics](/x-api/fundamentals/metrics)| N/A | If annotations are included in `tweet.fields`, results will be annotated with public_metrics per Post including `retweet_count`, `reply_count`, `quote_count`, `like_count`, `impression_count`, and `bookmark_count`, `non_public_metrics`including `impression_count`, `user_profile_clicks`, `url_link_clicks`, and `engagements`.<br/><br/>Additional media metrics such as view_count and video playback metrics.<br/><br/>Additional organic\_metrics and promoted\_metrics available with User Context for promoted Posts. |
39
39
| Supports requesting and receiving [conversation_id](/x-api/fundamentals/conversation-id)| N/A | Returns a conversation_id field where the value represents the first published Post in a reply thread to help you track conversations. |
40
40
| Post JSON format |[Standard v1.1 data format](https://developer.x.com/en/docs/twitter-api/v1/data-dictionary/overview.html)|[X API v2](/x-api/fundamentals/data-dictionary) format (determined by fields and expansions request parameters, not backward-compatible with v1.1 formats)<br/><br/>To learn more about how to migrate from the Standard v1.1 format to the X API v2 format, please visit our [data formats migration guide](/x-api/migrate/data-format-migration). |
41
41
| Results order | Reverse chronological | Reverse chronological |
0 commit comments