![](/img/trans.png)
[英]Video upload to Instagram Business Account always returns "Media ID is not available" error message
[英]Which WhatsApp Business Account ID to use?
有人可以澄清哪个是用于访问 WhatsApp 云 API 的正确 WhatsApp 企业帐户 ID 吗?
我已正确设置我的 webhook 并且可以接收消息。 但是,当我尝试使用此处提供的WhatsApp Business Account ID
(在附图中标记为数字 1)发送消息时,出现以下错误:
error: {
message:
"Unsupported post request. Object with ID '< my app id>' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api",
type: "GraphMethodException",
code: 100,
error_subcode: 33,
fbtrace_id: "AQXqjuSJKTWBnyJdUK_W-jj",
},
但是,当我在 curl 命令中切换到第二个WhatsApp Business Account ID
(在附图中标记为数字 2)时,它起作用了。
让我感到困惑的是,传入的消息具有第一个WhatsApp Business Account ID
(附图中标记为数字 1),如下所示:
message: {
object: "whatsapp_business_account",
entry: [
{
id: "xxxxxxxxxxxxxxx", // This matches the first
changes: [
...
],
},
],
};
我正在使用当前的 api v14.0。 我需要更改某些设置吗?
可能您需要将此访问令牌的用户添加到 WABA(Whatsapp 商业帐户)。 您可以通过访问商务管理平台 > Whatsapp 帐户菜单来完成。
如果您不知道这是哪个用户,可以将访问令牌值粘贴到访问令牌调试工具上进行查找。
PS:即使是系统用户也必须这样做!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.