0
有没有办法找到,如果两个人都在2-3的水平连接使用Facebook的API(N是精确的)?如果连接,有没有办法让不同的可能路径? 如果没有,最大深度允许什么?我猜测,我们可以发现至少有2级水平,我们可以手动匹配的好友列表..Facebook的连接
有没有办法找到,如果两个人都在2-3的水平连接使用Facebook的API(N是精确的)?如果连接,有没有办法让不同的可能路径? 如果没有,最大深度允许什么?我猜测,我们可以发现至少有2级水平,我们可以手动匹配的好友列表..Facebook的连接
是的,这取决于每个人的安全级别和他们接受你的应用程序,你可以使用API确定它。
您将需要从应用程序用户read_friendlists
权限。
例子:
OK : Me (authd app) -> my friend -> their friend (authd app)
OK : Me (authd app) -> my friend (authd app) -> their friend
OK : Me -> my friend (authd app) -> their friend
BAD : Me (authd app) -> my friend -> their friend
BAD : Me -> my friend -> their friend (authd app)
并获得多个层次:
OK : Me (authd app) -> my friend -> their friend (authd app) -> their friend (authd app) -> their friend (authd app) -> their friend (authd app)
OK : Me -> my friend -> their friend (authd app) -> their friend -> their friend (authd app) -> their friend