Created
July 22, 2013 20:10
-
-
Save korczis/6057201 to your computer and use it in GitHub Desktop.
FQL query to get all photos of all friends
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT pid, caption, aid, owner, link, src_big, src_small, created, modified FROM photo WHERE aid IN | |
(SELECT aid FROM album WHERE owner IN | |
(SELECT uid2 FROM friend WHERE uid1=me()) | |
) | |
AND created > 0 ORDER BY created DESC |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment