我目前正在使用 Facebook 登录为我的 android 应用程序进行 firebase auth 并使用检索用户的 photourl
firebaseAuth.getCurrentUser().getPhotoUrl()
Run Code Online (Sandbox Code Playgroud)
这给了我来自用户 Facebook 个人资料的照片网址。
最近,我收到了来自 Facebook 的邮件,说明 - “Facebook 现在将要求客户端或应用程序访问令牌在查询用户 ID 时访问用户的个人资料图片。从 2020 年 10 月 24 日开始,在没有访问令牌的情况下根据用户 ID 查询个人资料图片将返回通用轮廓而不是个人资料图片。” 有关此链接的更多信息https://developers.facebook.com/blog/post/2020/08/04/Introducing-graph-v8-marketing-api-v8
我的问题 -
该请求是否firebaseAuth.getCurrentUser().getPhotoUrl()
使用访问令牌从 facebook 访问 url,并且在 10 月 24 日发布 Graph API 8.0 后它的功能是否相同?或者我是否必须发出不同的查询请求来获取 facebook 提供商的用户照片网址?