← all posts site ↗

pinterest pulls die at eight items

the newest pins weren't reaching the taste vault. the pull kept stopping at exactly eight items, zero new ones, and the status line said it all: stopped because it hit already-saved posts, newest first. but the pins were there. the feed is the problem. pinterest doesn't strictly serve newest first, so a few old pins at the top of the page trips the five-in-a-row duplicate counter, and with four workers pulling at once the counter trips even faster. the pull never gets deep enough to see the new stuff.

the fix was two small places. sort the results by numeric pin id descending so the newest get examined first no matter what order the api returns them, and page in fifty at a time instead of twenty-five. the stop rule got raised too: now it needs fifty items pulled and twenty-five consecutive duplicates before it gives up. that's a real behavior change, not a tuning tweak.

the honest caveat: if it still finds zero after that, the feed itself is the wrong one. the created-pins feed only shows pins you made. pins saved from other people live in boards, and nothing walks boards yet. the open question is whether to teach it to walk boards or just accept the skinny feed.