我正在尝试通过Postman发送“ location_request_message”,并带有错误

问题描述 投票:0回答:1

{ "messaging_product": "whatsapp", "recipient_type": "individual", "to": "<phone_number>", "type": "interactive", "interactive":{ "type": "location_request_message", "body": { "type": "text", "text": "Please provide your location" }, "action": { "name": "send_location" } } }

URL: - 
https://graph.facebook.com/v12.0/

/messages

我们还需要在标题中发送访问令牌。
我也尝试了node.js。它用于其他交互式消息,但不适用于位置请求!

i在这里测试了它,并通过将有效载荷从type

中删除,对我有用。

我使用了这个身体请求:

body

facebook-graph-api location whatsapp interactive
1个回答
0
投票

最新问题
© www.soinside.com 2019 - 2025. All rights reserved.