有没有一种方法可以从名称中获取Facebook公共信息? [英] Is there a way to get facebook public info from name?

查看:83
本文介绍了有没有一种方法可以从名称中获取Facebook公共信息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我提供姓名和/或公司名称,是否可以获取用户的Facebook详细信息

IS there a way that if I provide name and/or company name I get the user's facebook details

例如:如果我输入一个名字"John Dropes",我将获得具有该名字的所有用户的所有相关公共信息(例如:生日,位置等).

Eg : If I enter a name as "John Dropes" I get all related public info(Eg : Birthday,Location etc) of all users with this name.

我将不使用Facebook用户名或ID,我应该能够仅从名称中获取信息.

I am not going to use Facebook Username or ID I should be able to get info just from name.

推荐答案

您可以使用搜索来获取用户列表:

You can use the search to get a list of users:

/search?q=John%20Doe&type=user

这将返回与名称或多或少紧密匹配的用户列表:

This will return a list of users which match the name more or less closely:

{
  "data": [
    {
      "name": "John Doe", 
      "id": "7688817164415"
    }, 
    {
      "name": "Rubén Doe", 
      "id": "3650636703421"
    }, 
    ...
   ]
}

然后您可以向各个用户的id发出请求:

You can then issue request to the id of the individual users:

/7688817164415

这将为您提供一些信息.但是请注意,标准信息集非常狭窄.

This will give you some info. But be aware that the standard info set is very narrow.

这篇关于有没有一种方法可以从名称中获取Facebook公共信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆