I am working on a Twitter project in which I need to retrieve the
oldest replies to a specific user from a given status id.

Example:

Status ID: 105
Status ID: 104
Status ID: 103
Status ID: 102
Status ID: 101
Status ID: 100

I want to retrieve the 2 oldest replies since id 100.

If I use the API with the since_id (100) and count (2) parameters it
returns ids 105 and 104. I need 101 and 102.

As I understand the API, in order to achieve this I need to select all
of the replies using the since_id parameter and then using the page
parameter, iterate through the pages until I get to a point where I
have received all of the replies since the specified id as there is no
"number of pages" response.

This is not a problem when the application has a small number of
replies to process. When the application gets to a point where it has
100k replies every 10 minutes, this will be a problem.

Is there a better way to get the oldest replies since a particular id?
It seems that iterating through pages would quickly deplete one's rate
limit (especially when trying to be as friendly to the API as
possible).

Are there any plans to allow for a "get oldest since id" parameter?
Are there any plans for "page count" return result to avoid needless
iterating through results that aren't needed in my application?

Thanks in advance for any help or insight that can be provided.

Reply via email to