使用图Api对Facebook相册照片进行排序 [英] Sorting facebook album photos using graph Api
本文介绍了使用图Api对Facebook相册照片进行排序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试从相册文件夹中获取最近7张更新的图像.我使用了verse_chronologic以及按时间顺序排列,但是它不起作用.基于时间更新,我必须对图像进行排序.
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}
推荐答案
Looking at the documentation around ordering, this format should work:
https://graph.facebook.com/{album-id}/?fields=photos.order(reverse_chronological)
你可以尝试吗?
这篇关于使用图Api对Facebook相册照片进行排序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文