How to get Friend's Friends List?

Mar 6, 2009 at 8:30 AM
I am developing a facebook application. I need to get a particular users Friend's Friends List. I tried this piece of code and got an exception as invalid parameter. Is this the correct one or is there any other means..



<user> Friends = Master.API.friends.getUserObjects();



foreach (user u in Friends)




IList<user> FrndFriendsList = Master.API.friends.getUserObjects(Convert.ToInt64(u.uid));



May 30, 2009 at 3:54 PM

In case you haven't figured it out, and for the sake of all those searching for this sort of thing, the problem may simply be that you do not have permissions to see a users's friends' friends if you have permission to see a users' friends. Would you want a Facebook application to see all of your friends' names just because one friend is using the application? It's just an information disclosure and control issue.

Ted Howard