App Logo
x.com

Read your X (Twitter) bookmarks

Automatically read your X (Twitter) bookmarks on x.com. List the posts the signed-in X (Twitter) account has bookmarked, in the order X shows them: the most recently bookmarked first. All bookmarks are read, not one bookmark folder. Returns per post: id, url, author {id, handle, name}, text, created_at, lang, likes, retweets, replies, quotes, bookmarks, views, is_retweet, is_quote, plus in_reply_to and quoted_tweet ({id, author_handle}, null when not a reply or a quote). created_at is when the post was written, not when it was bookmarked: X does not show that date. With count, the script scrolls until it has count, reaches the end, or X stops loading; complete says whether it reached the end. When the browser is signed out of X, the run fails with a signed-out error asking you to sign in to x.com.

Inputs

count optional

How many to return. Without it, the script returns the first page X shows (often about 20). With it, the script loads more until it has count, reaches the end, or X stops loading; complete says whether it reached the end.

Output

count required

Number of posts returned. 0 is a valid answer: the account has no bookmarks.

tweets required
complete required

True when X showed the end of the bookmarks and every one it sent is returned. False when there may be more: count was reached, X stopped loading, or no count was given and the first page is not the end.

FAQ

List the posts the signed-in X (Twitter) account has bookmarked, in the order X shows them: the most recently bookmarked first. All bookmarks are read, not one bookmark folder. Returns per post: id, url, author {id, handle, name}, text, created_at, lang, likes, retweets, replies, quotes, bookmarks, views, is_retweet, is_quote, plus in_reply_to and quoted_tweet ({id, author_handle}, null when not a reply or a quote). created_at is when the post was written, not when it was bookmarked: X does not show that date. With count, the script scrolls until it has count, reaches the end, or X stops loading; complete says whether it reached the end. When the browser is signed out of X, the run fails with a signed-out error asking you to sign in to x.com.
Ask an AI agent connected to Reduck to run reduck/x.com/get_bookmarks, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/x.com/get_bookmarks
You do not need one. "Read your X (Twitter) bookmarks" drives the real x.com pages in a browser, so it works whether or not x.com offers an API for this.
Optional: count.
It returns count, tweets, complete.
Yes. It acts as you on x.com: in your browser it reuses your session, and on a cloud browser it loads your Auth session cookies for x.com.
It only reads. It looks things up on x.com and changes nothing there.
Ask an AI agent connected to Reduck to run reduck/x.com/get_bookmarks, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/x.com/get_bookmarks
It is one of Reduck's official scripts.

Start building not clicking