I am querying the Graph API for information about photos. I’m using field expansion. The queries look like this:
https://graph.facebook.com/[userId]?fields=albums.limit(5000).fields(photos.limit(1000).fields(from,comments,likes,tags,place,name,created_time))&access_token=[accessToken]
These queries work great.
Is there a way to do this query for a time range i.e. “since (date)” & “until (date)”? I’m trying to only query for photos with a created_time within a certain range.
I tried this solution but it didn’t work.
Thanks very much in advance for any help.
Try using
.since(unixtime).until(unixtime)me?fields=albums.limit(5000).fields(photos.limit(1000).fields(from,comments,likes,tags,place,name,created_time).since(unixtime).until(unixtime))