/statuses/user_timeline max_id bug (returning tweet with id greater than request parameter)



According the the REST API docs here: https://dev.twitter.com/rest/reference/get/statuses/user_timeline, the inclusion of the max_id request parameter “Returns results with an ID less than (that is, older than) or equal to the specified ID”. I’m witnessing a case where this does not hold.

Request 1 Parameters:

Response 1 Tweet IDs

Following working with timelines logic suggested here: paging logic that is suggested here: https://dev.twitter.com/rest/public/timelines, the next request is made with max_id = (lowest Tweet ID returned - 1)

Request 2 Parameters (using last Tweet ID - 1)

Request 2 Response Tweet IDs

The ID returned is greater than the max_id requested.


I am seeing the exact same thing. However, it seems to be intermittent. Sometimes it works as expected and sometimes not.

Is there any update to this issue?