October 2008
Intermediate to advanced
434 pages
12h 7m
English
I need to retrieve all of the photos that a specific user has been tagged in using FQL.
SELECT pid, src, caption FROM photo WHERE pid IN (SELECT pid FROM photo_tag WHERE subject = $user);
This will return an empty set if the current loggedinuser doesn’t have permission to see
any of the photos or if user hasn’t
been tagged in any.
Read now
Unlock full access