In FQL/PHP, how to get the friendlist
of a friend? I can not find in the Facebook Developer API Documentations also.
I used something similar like this:
SELECT uid, first_name, last_name FROM user WHERE uid IN (SELECT uid2 FROM friend WHERE uid1 = 'UID_OF_A_FRIEND_HERE')
Yep, that syntax is correct, you can check it on the Graph Explorer, however will only work if A) The friends privacy settings allow it, and B) The friend is a user of your app.
SELECT uid, first_name, last_name FROM user WHERE uid IN (SELECT uid2 FROM friend WHERE uid1 = me())
i just check with Facebook Graph API Explorer. it works