lus*_*chn 20
您不能再获得真实ID或用户名,因此无法获得"真实URL".更多信息:https://developers.facebook.com/docs/apps/changelog
您可以通过以下API调用获取用户配置文件的链接: /me?fields=link
查看Facebook文档中的"App Scoped IDs".
更新:似乎无法再链接到用户配置文件:https://developers.facebook.com/blog/post/2018/04/19/facebook-login-changes-address-abuse/
看起来 Facebook 已经创建了一个单独的权限(用户需要批准),要求user_link您能够获取该权限。您可以在此处查看更多详细信息:https :
 //developers.facebook.com/docs/facebook-login/permissions/#reference-user_link
当您使用/me?metadata=1以下link描述查询有关端点可用字段的元数据时:
{
  "name": "link",
  "description": "A link to the person's Timeline. The link will only resolve if the person clicking the link is logged into Facebook and is a friend of the person whose profile is being viewed.",
  "type": "string"
}
如果用户已批准该权限,您将能够像以前一样获取链接:
/me?fields=link
{
  "link": "https://www.facebook.com/app_scoped_user_id/SOME_TOKEN/",
  "id": "USER_ID"
}
| 归档时间: | 
 | 
| 查看次数: | 22981 次 | 
| 最近记录: |