简体   繁体   English

Facebook PHP SDK:结识网络中的朋友和朋友的朋友

[英]Facebook PHP SDK: get people in network and friends of friends

I am trying to do two different things here. 我正在尝试在这里做两件事。

  1. The first is to get a list of Facebook user IDs of people who share a network with the logged in user. 第一个是获取与登录用户共享网络的人员的Facebook用户ID列表。 Given that networks are quite public, is this possible to any degree? 鉴于网络相当公开,这在任何程度上都可能吗?

  2. 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 . 第二个方法是获取与登录用户的朋友之一成为朋友的人的Facebook用户ID列表,类似于AirBnB在这里所做的事情。

Thanks in advance for your help. 在此先感谢您的帮助。

It is not possible to do any of these things with the Facebook graph. 使用Facebook图形无法执行任何这些操作。 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. 采取任何其他措施的能力将导致信息滥用和Facebook上大量垃圾邮件的泛滥。 Not saying that you would abuse the information, but the are plenty of people out there who would. 并不是说您会滥用信息,但是有很多人会滥用信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM