I need to retrieve a specific user’s groups using FQL.
You can’t get a user’s groups without using both the
SELECT name FROM group WHERE gid IN (SELECT gid FROM group_member WHERE uid = $uid);
If the current
doesn’t have permission to see the groups that
uid is in, you’ll get an empty set.