I am trying to do two different things here.
-
The first is to get a list of Facebook user IDs of people who share a network with the logged in user. Given that networks are quite public, is this possible to any degree?
-
The second is to get a list of Facebook user IDs of people who are friends with one of the logged in user’s friends, similar to what AirBnB has done here.
Thanks in advance for your help.
It is not possible to do any of these things with the Facebook graph. All you are able to access, if they let you, is the information regarding the immediate user. The ability to do any more would lead to an abuse of the information and a massive increase of spam floating around Facebook. Not saying that you would abuse the information, but the are plenty of people out there who would.