App Logo
x.com

Get X For You feed

Get tweets from your personal For You home feed — the timeline as shown: top-level posts plus the replies and quote-tweets X threads in. Returns per tweet: id, url, author {id, handle, name}, text, created_at, lang, likes, retweets, replies, quotes, bookmarks, views, is_retweet, is_quote, plus ref objects retweeted_tweet/quoted_tweet/in_reply_to (each {id, author_handle}, null when N/A). For a retweet the id is the wrapper, not the original — join via retweeted_tweet.id; in_reply_to != null is the reply test. Count is capped by how far the feed paginates before throttling.

Input

count optional

Max tweets to collect. The feed loads ~20-35 per fetch; the script scrolls to accumulate pages until count is met or the feed stops yielding new tweets.

Default: 20

Output

tweets required

Start building not clicking