如何获取我所有朋友上传的最后 50 张照片?
我尝试在 FQL 中运行此查询:
SELECT pid, src
FROM photo
WHERE
owner IN (SELECT uid1 FROM friend WHERE uid2=me())
OR pid IN (
SELECT pid FROM photo_tag
WHERE subject in (SELECT uid1 FROM friend WHERE uid2=me())
)
ORDER BY created DESC
LIMIT 50 OFFSET 0
我需要从我所有的朋友那里获得最后 50 张照片,或者我的朋友在哪里被标记...
当我在 API Explorer 中运行它时,我得到一个错误:
{
"error": "Request failed"
}
我知道我有足够的权限,因为当我运行这两个查询时,我得到了结果:
SELECT pid, src FROM photo WHERE owner =(me())
和
SELECT uid1 FROM friend WHERE uid2=me()
编辑:我也试过这个..
SELECT pid, caption, aid, owner, link, src_big, src_small, created, modified FROM photo
WHERE owner IN ( SELECT uid1 FROM friend WHERE uid2=me() )
and created >= 1377800559
ORDER BY created DESC LIMIT 100
我怎样才能获得更多信息?不能运行这样的查询吗?