mirror of
https://github.com/twitter/the-algorithm.git
synced 2025-06-13 12:58:23 +02:00
Open-sourcing Unified User Actions
Unified User Action (UUA) is a centralized, real-time stream of user actions on Twitter, consumed by various product, ML, and marketing teams. UUA makes sure all internal teams consume the uniformed user actions data in an accurate and fast way.
This commit is contained in:
15
unified_user_actions/graphql/README.md
Normal file
15
unified_user_actions/graphql/README.md
Normal file
@ -0,0 +1,15 @@
|
||||
Documents
|
||||
=========
|
||||
|
||||
TweetHydration
|
||||
--------------
|
||||
|
||||
Upload
|
||||
------
|
||||
|
||||
```
|
||||
$ graphql stored_document put unified_user_actions/graphql/TweetHydration.graphql
|
||||
```
|
||||
|
||||
DocumentId: `M5sHxua-RDiRtTn48CAhng`
|
||||
Test: https://graphql.twitter.com/snaptest/tests/1580340324727017472/
|
15
unified_user_actions/graphql/TweetHydration.graphql
Normal file
15
unified_user_actions/graphql/TweetHydration.graphql
Normal file
@ -0,0 +1,15 @@
|
||||
query TweetHydration($rest_id: NumericString!) {
|
||||
tweet_result_by_rest_id(rest_id: $rest_id, safety_level: ForDevelopmentOnly) {
|
||||
result {
|
||||
... on Tweet {
|
||||
core {
|
||||
user {
|
||||
legacy {
|
||||
id_str
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user