小编Nic*_*Coy的帖子

如何通过 2FA 使用 Facebook OAuth2

有没有办法将 2FA 添加到 Facebook 的 Oauth2 流程中?为在其 FB 商务管理器帐户上启用 2FA 的用户尝试访问图形 API 的见解端点时,将返回以下错误:

"error": {
    "fbtrace_id": "HrY8K9KfT4U",
    "error_user_msg": "Unknown error",
    "message": "Two factor authentication required. User have to enter a code from SMS or TOTP code generator to pass 2fac. This could happen when accessing a 2fac-protected asset like a page that is owned by a 2fac-protected business manager.",
    "error_subcode": 1404120,
    "type": "OAuthException",
    "error_user_title": "Ask user to pass two factor authentication",
    "is_transient": false,
    "code": 415
  }
Run Code Online (Sandbox Code Playgroud)

facebook facebook-graph-api facebook-authentication facebook-access-token facebook-authorization

6
推荐指数
1
解决办法
812
查看次数