An idea I haven’t tried yet —

What if we save previous pages newest item’s id_str in a stack. Then we call the api with BOTH the desired since_id AND the stored max_id from the stack.

This should likely bracket the desired range.

B Zion