我正在使用FQL
收集应用程序的所有Facebook照片,我在Facebook上有533张照片,但问题是此query
只会返回400条记录。
FQL QUERY
SELECT src_big,target_id FROM photo WHERE pid IN
(SELECT pid FROM photo_tag WHERE subject='".$session_fbuserid."') OR
pid IN (
SELECT pid FROM photo WHERE aid IN
(SELECT aid FROM album WHERE owner='".$session_fbuserid."' AND type!='profile')
)
我的Facebook专辑
答案 0 :(得分:0)
将limit 1000
添加到查询的末尾。
SELECT src_big,target_id FROM photo WHERE pid IN (SELECT pid FROM photo_tag WHERE subject='".$session_fbuserid."') OR pid IN (SELECT pid FROM photo WHERE aid IN (SELECT aid FROM album WHERE owner='".$session_fbuserid."' AND type!='profile')) LIMIT 1000