配置config_id后Facebook Login for Business提示‘应用不可用’问题排查
Facebook Login for Business 报错:"This app isn’t available. This app needs at least one supported permission."
我正尝试在已上线且完成企业验证的应用中实现Facebook Login for Business。该应用已上线,所需权限(pages_manage_posts、pages_show_list、pages_read_engagement)均已获批高级访问权限,且已针对这些权限完成Business Login配置。但每次使用配置ID打开登录对话框时,都会收到错误提示:
This app isn’t available. This app needs at least one supported permission.
我已反复检查以下内容:
- 应用在Meta应用控制台处于上线状态;
- 所需权限均已获批并拥有高级访问权限;
- 重定向URI已正确添加至Valid OAuth Redirect URIs白名单;
- 已按照文档要求使用
response_type=code和override_default_response_type=true。
以下是我测试用的脱敏OAuth URL示例:
https://www.facebook.com/v18.0/dialog/oauth?client_id=APP_ID_SAMPLE&redirect_uri=https%3A%2F%2Fexample.com%2Fcallback.php&config_id=CONFIG_ID_SAMPLE&response_type=code&override_default_response_type=true&auth_type=rerequest&state=test_state
以及用于测试登录流程的极简JS SDK示例:
<button onclick="loginWithFB()">Login with Facebook Business</button> <script> function loginWithFB() { FB.login(function(response) { console.log(response); if (response.authResponse) { alert('Logged in successfully!'); } else { alert('User cancelled login or did not authorize.'); } }, { config_id: 'CONFIG_ID_SAMPLE', response_type: 'code', override_default_response_type: true, auth_type: 'rerequest' }); } </script>
我也尝试过文档中提到的GDPR/同意URL方案,但仍出现相同错误。
我希望了解:
- 创建Business Login配置后,是否需要额外步骤才能在生产环境生效?
- 仅使用配置ID而未指定范围(scopes)是否会导致该问题?
- 即便应用已上线、验证并获批,Business Login配置是否存在已知的延迟或传播问题?
恳请有成功使用经验的人士提供指导、示例或见解。
内容的提问来源于stack exchange,提问作者Protzyyy
相关产品推荐
相关产品推荐

