Ask Your Question

Revision history [back]

I wish there was more of a hard and fast, clear cut logic for this but there isn't.
There are many variables that apply to each RETS feed which can affect if and when a listing is made available.
Not to mention that the data and images can change at any given time, even while you are pulling them.
The listing you mentioned for example, was actually entered: 2019-07-26 20:05:51.0Z
The images were added: 2019-07-26 20:05:52.4Z
But the listing may not have been available to your feed until: 2019-07-27 17:26:35.7Z.
The only way I know to somewhat mitigate these types of issues would be to track the last photo update date and pull the images whenever it changes.
If it is a new listing you didn't have before, you know you need to pull the images.
When data is updated, check the photo update date you have stored locally against the new data's photo date and pull images whenever it changes.