【发布时间】:2016-04-16 20:07:19
【问题描述】:
我正在尝试 Facebook AccountKit,如下所示:https://developers.facebook.com/docs/accountkit/android/integrating
我通过以下方式启动 AccountKitAcitivity:
AccountKitConfiguration.AccountKitConfigurationBuilder configurationBuilder =
new AccountKitConfiguration.AccountKitConfigurationBuilder(
LoginType.PHONE,
AccountKitActivity.ResponseType.TOKEN);
intent.putExtra(
AccountKitActivity.ACCOUNT_KIT_ACTIVITY_CONFIGURATION,
configurationBuilder.build());
startActivityForResult(intent, APP_REQUEST_CODE);
在我以“已验证”结尾完成 SMS 登录流程后,当我在活动中调用 AccountKit.getCurrentAccount(...) 时,我收到“来自服务器的 API 调用需要 appsecret_proof 参数”错误。
这只能通过关闭“用于服务器 API 调用的应用程序秘密证明”来“解决”。这会降低我的应用程序的安全性...有什么建议吗?
【问题讨论】:
-
如果您找到了解决方案,但现在遇到了同样的问题,请告诉我。
标签: android facebook android-facebook