![](/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.