SELECT created_time, like_info, share_count, message, attachment FROM stream WHERE post_id='119757088035616_862221027122548'
通过这个FQL-Query,我可以获得有关facebook页面流中一个帖子的几个信息。但是,该单个帖子也可以是照片专辑中的单个图像。有没有办法捕捉属于帖子的每张照片(在这种情况下,这将是一张新专辑)?
答案 0 :(得分:0)
要获取已张贴照片所在相册的所有照片,请尝试以下FQL查询:
select pid, aid, created, src from photo where aid in (SELECT attachment.media.photo.aid FROM stream WHERE post_id='119757088035616_862221027122548')
如果您只想要照片信息,请使用此示例:
select pid, aid, created, src from photo where pid in (SELECT attachment.fb_object_id FROM stream WHERE post_id='119757088035616_862221027122548')