The Node.js and Python snippets shape durable bookmark folder rows instead of
printing the full response page. Persist folderRows or folder_rows so a
worker can pass folder_id into GET /x/bookmarks?folderId=....
Use GET /x/bookmarks/folders when a saved-tweet workflow, CRM enrichment job,
research queue, or agent needs the current bookmark folder IDs for the
authenticated X account.Store folder_id and folder_name. The current route returns one folder page
with has_next_page: false and next_cursor: ""; use each folder_id with
Bookmarks to fetch the saved tweets inside that
folder.