The post delves into the design aspects of X's (formerly Twitter) home timeline API, covering data fetching, response structure, and pagination. It explores the mixed use of REST, RPC, and GraphQL approaches, the handling of hierarchical data, and special entities like tweets, feedback actions, and cursors. The post also

21m read timeFrom towardsdatascience.com
Post cover image
Table of contents
How X (Twitter) Designed Its Home Timeline API: Lessons to LearnFetching the list of tweetsThe endpoint and request/response structurePaginationLinked/hierarchical entitiesSortingTweet actionsTweet detail pageLiking the tweetConclusionAppendix: All types in one place
4 Comments

Sort: