1
我正在使用this answer生成新的访问令牌。某些页面无法获取Facebook页面数据
使用访问令牌,我可以发送请求到Facebook的图形api。
例如,我想拉动https://www.facebook.com/custtap的详细信息。然后,这个网址
https://graph.facebook.com/v2.5/custtap?fields=name,about,emails&access_token=ACCESS_TOKEN_GOES_HERE
这工作正常,我得到了预期的结果。同样,它对我没有任何访问权限的其他页面也可以正常工作。
但是,这种方式不适用于页面(https://www.facebook.com/LatentView)。
https://graph.facebook.com/v2.5/LatentView?fields=name,about,emails&access_token=ACCESS_TOKEN_GOES_HERE
这将返回
{
"error": {
"message": "Unsupported get request. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api",
"type": "GraphMethodException",
"code": 100,
"fbtrace_id": "C6DYVxvWZ91"
}
}