I have deleted rules for my stream, and replaced them with new rules. The rule ids I get back from the GET endpoint are ‘1429888227234631707’, ‘1429888424463388698’, and ‘1429888425264500762’, but tweets matching any one of these rules instead are returned with a matching rule id of ‘1429888227234631700’, which I deleted!

Please help!

This looks suspiciously like the 64 bit integer issue in JavaScript Twitter IDs | Docs | Twitter Developer Platform

1429888227234631700 would be:
1429888227234631707 in this case.

How are you parsing the IDs?

WOW.

You are absolutely right. Here you can see me logging the raw JSON with the correct matching rule id, which JSON.parse converts incorrectly!
image

Holy heck. Thank you so much. I would never have thought of this

1 Like