Created By
Steffen Hageland
06/18/2012 8:52am

Subscribers (85)

BugsFQL with IN-statement only returns results for 1 user in the subquery

  • Status: Fixed
  • Priority: Medium
  • Updated: August 29, 2012 at 2:01pm
Latest response from Facebook
Jeff Bowen
This issue was resolved in mid-July. Thanks for your patience.
Status changed to Fixed · August 29, 2012 at 2:01pm
Samantha Gruskin
Thanks for the report. We are looking into this.
Status changed to Assigned · Priority changed to Medium · June 19, 2012 at 12:16pm
I want the application to get photos from all my friends, and have created the following subquery:

SELECT owner, object_id, like_info FROM photo WHERE aid IN (
SELECT aid FROM album WHERE owner IN (
SELECT uid2 FROM friend WHERE uid1=me()
)
)

This subquery only returns pictures from one of my friends that are found in the inner subquery; instead of photos from all my friends.

Duplicate of: https://developers.facebook.com/bugs/471620432865189
Reason: Last bug-report is rather bad.
14 people can reproduce this issue by following these steps
Repro