I'm using JSON api plugin to pull data from wordpress into an app I am making. I need a unique identifier to make sure I don't have any duplicates WHILE also using the identifier as a way to sort from newest post to oldest post. As of right now I'm confused because I pull the 10 most recent posts. I then take the ID and I attempt to reach example.com/?id=1774 but I don't get the correct post. I get a different one. I'm starting to run out of ideas?
If you look at the description for the different tables used by WordPress, the columns described as "auto_increment" will be unique.
I am not sure what you are doing though. The URL structure you are using is not one that I recognize. That is, the syntax I think you want is this:
rather than this:
Yes and No.
With the GUID, you won't be able to "use the identifier as a way to sort from newest post to oldest post.", but you can pass the