按姓名在 Facebook 上搜索人员并获取 fields=name, id, education
Search people on facebook by name and get fields=name, id, education
我想创建一个搜索引擎,它想按姓名搜索人,我需要以下字段:id、姓名、教育程度。
有可能吗?
我是这样使用的:
https://graph.facebook.com/search?q=tom&type=user&fields=id,name,education&access_token=XXX
但是,结果缺少教育信息。
{ "data": [
{
"id": "123456789",
"name": "name0"
},
{
"id": "123456789",
"name": "name1"
},
{
"id": "123456789",
"name": "name2"
},
{
"id": "123456789",
"name": "name3"
}, ...
那是不可能的,你只能得到授权你的应用程序的用户的教育 user_education_history
权限,这将是 API 调用:
https://graph.facebook.com/me?fields=education
我想创建一个搜索引擎,它想按姓名搜索人,我需要以下字段:id、姓名、教育程度。
有可能吗?
我是这样使用的:
https://graph.facebook.com/search?q=tom&type=user&fields=id,name,education&access_token=XXX
但是,结果缺少教育信息。
{ "data": [
{
"id": "123456789",
"name": "name0"
},
{
"id": "123456789",
"name": "name1"
},
{
"id": "123456789",
"name": "name2"
},
{
"id": "123456789",
"name": "name3"
}, ...
那是不可能的,你只能得到授权你的应用程序的用户的教育 user_education_history
权限,这将是 API 调用:
https://graph.facebook.com/me?fields=education