Hello, how can i get a list of my friends friends in Facebook using any Facebook API?
I've seen this working on some Facebook apps - like the Marketplace app that allows to search for ads from my friends and their friends.
How do they do it? However, I'm getting stuck with FQL here:
"SELECT uid2 FROM friend WHERE uid1 in ( select uid2 from friend where uid1 = {0} )"
because facebook tells me:
Can't lookup all friends of XXXX; can only lookup for the logged in user (YYYY) or for pairs of users
(where XXXX would be the first user ID returned by the subselect and YYYY is my user ID)
So, can anyone tell me, what's the trick to get this working?