I have a decoupled web site, and I'm using WordPress REST API to get the Header, Featured Image, etc from any other WP site link that I'm targeting.
In my research I see a lot of people asking how to get more than the limited 100 last posts, but what I am trying to do is get only one post at a time that may be older than the last 100.
Another way to look at it is I am targeting only one post, and if I can only grab all posts, and find that one in the batch, that would be ok too.
If I am using a post that is within the last 100 posted on the WP site, I have no problem, it's only when a post I'm using is older than that.
I am using the Requests package for PHP to call the WP REST API.
Does anyone know how I can get posts older than the last 100 from a WP site on my decoupled site? I don't really think it has anything to do with using Requests PHP or JSON, JQuery or any of the other languages to do it.
Any help would be very much appreciated.
Thanks