I am trying to fetch all messages that have been sent to a channel in the last 24 hours. According to the documentation the correct endpoint would be:
The explanation for the
Provide a non-zero value in Unix time milliseconds to select posts modified after that time
So from my understanding I would need to issue a request to the following URL to fetch the range of posts I want (in this case all posts that have been made since June 10th, 12 p.m.):
However this does not return any results at all. I suspected this might be because of an error in the documentation, and instead that I would need to use seconds, not miliseconds:
This time I got the first 1000 results since the beginning of the channel history. But from my understanding this should result in all posts that have been made since that date, not until that date. Does anyone have an idea what my mistake could be?
Unfortunately I don’t have access to the server-side logfiles. I am convinced that I am missing something obvious here, but I can’t for the life of me find the issue on my own. Thank you for your help!