you can fetch all photos using api
you can get 20 images per api call, and u can use pagination in api to iteratively get next set of 20
pagination
all photos have created_time in api response which has timestamp
created_time