I need to retrieve all of a specified user’s friends’ listings using FQL.
SELECT title, url, description, price, category FROM listing WHERE poster IN (SELECT uid2 FROM friend WHERE uid1 = $user);
Since this is based on a query on the
friend table, you can make it only when
user is the current