问题
I am trying to get last 7 updated images from album folder. I used reverse_chronological as well as chronological but its not working. Based on time update i have to sort the images.
https://graph.facebook.com/{albumid}/photos?&field=id,created_time.order(reverse_chronological),description&limit=7&access_token={zxczczxczx}
回答1:
Looking at the documentation around ordering, this format should work:
https://graph.facebook.com/{album-id}/?fields=photos.order(reverse_chronological)
Can you try that?
来源:https://stackoverflow.com/questions/35499896/sorting-facebook-album-photos-using-graph-api