为什么我会得到“API 参数中提供的 appsecret_proof 无效"? [英] why do I get "Invalid appsecret_proof provided in the API argument"

查看:34
本文介绍了为什么我会得到“API 参数中提供的 appsecret_proof 无效"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

自从 Facebook 上关于 appsecret_proof 的最新变化:https://developers.facebook.com/docs/reference/api/securing-graph-api/,即使在我们的应用程序中启用/禁用高级设置中的功能后,我们仍然无法下载性能报告,或者应用他们文档中描述的代码.

Since the latest change on Facebook, regarding the appsecret_proof: https://developers.facebook.com/docs/reference/api/securing-graph-api/, we are still unable to download performance reports even after enabling/disabling features from Advanced Settings in our app, or apply the code as described in their document.

我们不断收到此错误:

{"error":{"message":"API 参数中提供的 appsecret_proof 无效","type":"GraphMethodException","code":100}}

{"error":{"message":"Invalid appsecret_proof provided in the API argument","type":"GraphMethodException","code":100}}

我打开了一个机密错误,但没有人回复我.

and I've open a confidential bug but no one returns to me with an answer.

我真的不知道我们还能尝试什么?

I really don't know what more could we try?

推荐答案

这个错误(根据我的经验)几乎肯定是正确的;这意味着您正在通过 API 调用证明无效的 appsecret_proof

The error is (based on my experience) almost certainly correct; it means you're proving an invalid appsecret_proof with your API call

假设您使用的是未经修改的标准 PHP SDK,最可能的原因是:

Assuming you're using the standard PHP SDK without modifications, the most likely reasons for this are:

  • 您在 SDK 代码中配置了错误的应用 ID
  • 您在 SDK 代码中配置了错误的应用密钥
  • 您正在尝试使用来自错误/其他应用的访问令牌

这篇关于为什么我会得到“API 参数中提供的 appsecret_proof 无效"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆