I am trying to run the following FQL:
SELECT user_id FROM like WHERE object_id IN (SELECT object_id FROM album WHERE owner = me())
But, this gives the error:
error_code":604,"error_msg":"Your statement is not indexable. The WHERE clause must contain an indexable column. Such columns are marked with * in the tables linked from http:\/\/developers.facebook.com\/docs\/reference\/fql
Both queries are using indexable columns! And, after some debugging, I traced down the IN part. Basically, if the IN query returns empty (in this case "SELECT object_id FROM album WHERE owner = me()
"), you get this error? And, obviously there are some users who don't have an album!
Basically, this whole query should return no result????
Isn't this an obvious bug?
Thanks.