我如何能够使用 FQL 获取一天前在 Facebook 上拍摄的所有照片?
目前,我有:
SELECT src_small FROM photo WHERE pid IN (SELECT pid FROM photo_tag WHERE subject=me()) AND created = previousDayTimeStamp
但是,UNIX TIME 来自:
previousDay = [iOSCalender components:NSDayCalendarUnit fromDate:self.currentDate];
previousDay.day = -1;
previousDate = [iOSCalender dateByAddingComponents:previousDay toDate:self.currentDate options:0];
NSString *previousDayTimeStamp = [NSString stringWithFormat:@"%f",
[previousDate timeIntervalSince1970]];
引用精确到秒的日期,FQL 中的“创建”字段也是如此。有没有办法可以缩短时间,以便最详细的信息是当天?