As @CBroe notes, this is not supported by the Facebook API. (This can be done using FQL , but it is deprecated and will not be supported much longer).
However, with some creativity (and a bit of extra code) a similar effect can be achieved by combining several queries.
In my application, I execute a query with the following parameters:
until=2015-07-07 (or whatever since date would be)fields=updated_time (to keep the request fast and a small payload)limit=5000 (or some kind of large page size, since I only captured one field)
Then I evaluate each message with updated_time more than the expected since date, and queues these messages to download the entire contents of the message.
Note. If you are dealing with content where there are frequent updates in past content, most likely you will want to use the Graph API Batch Requests function, as opposed to downloading each message separately.
So, for example, if the until date (and therefore, since ) is 2015-07-07 , and updated_time in the message is 2015-10-15 , then I know that the message was created before 2015-07-07 , but then it is updated. It will not be received in the since request, but I can easily download it separately for cache synchronization.
source share