Sweet!
First, the app request photos, then the server finds photos uploaded less than 24 hours ago, the server sorts them, and the app displays it.