Sorting facebook album photos using graph Api

﹥>﹥吖頭↗ 提交于 2020-01-02 20:02:40

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!