首页 > 解决方案 > 应用因违反 Facebook 平台政策 6.1 而被停用(为什么它显示响应代码为 0)

问题描述

由于违反政策 6.1,我收到了 Facebook 开发人员关于停用我的应用程序的邮件。

在这里,我使用测试人员帐户进行了检查。它使用以下代码将错误显示为“出现问题”。

requestCode = 64206
resultCode = 0

注意:我还收到了 SERVER_ERROR: [code] 1675030 [message]: Error execution query。[额外]:一次。

我用相同的实现代码检查了其他 appId,它工作正常并将resultCode 返回为 -1。它使登录成功。

使用 customTabs 进行登录。使用 Facebook SDK 8.2 版。

List<String> permissions = Arrays.asList("public_profile");
LoginManager.getInstance().logInWithReadPermissions((Activity) context, permissions);

在此处输入图像描述

来自 Facebook 政策的消息:

During Login, your app is crashing or hanging excessively, creating a broken experience for people trying to use your app.

To make sure this flow runs smoothly, check that you've integrated Facebook Login correctly. We recommend that you test Login on all integrations. If you have not already done so, please:
    
    • Here's our quickstart guide for implementing Facebook Login for Android: https://developers.facebook.com/docs/facebook-login/android
    • We encourage you to test your Login integration following these steps here: https://developers.facebook.com/docs/facebook-login/testing-your-login-flow/
    • Best Practices for Login can be found here: https://developers.facebook.com/docs/facebook-login/best-practices
    
    For more information, visit:
      - Developer Policies: https://developers.facebook.com/devpolicy
      - Platform Terms: https://developers.facebook.com/terms
    
    Once you’ve updated your app, please go to https://developers.facebook.com/appeal to appeal. A member of our team will get back to you within 48 hours.

标签: androidfacebookandroid-facebook

解决方案


推荐阅读