Web WhatsApp发送文本和图片。

huangapple go评论79阅读模式
英文:

web whatsapp send text and imagen

问题

我正在尝试使用WhatsApp Web的URL发送消息,目前我只能发送文本消息,这是我的代码,它可以工作。

<a href="https://web.whatsapp.com/send?text= !!! 这是我的代码  0H78RT !!! %0A https://mypublicUrl.com.co/documents?gad=1"  
rel="nofollow noopener" 
target="_blank" 
className="share-icon">
通过WhatsApp分享
</a>

但是我需要添加一个像这样的图片,我尝试在URL的末尾使用&image="https://panda.png",但这不起作用。这是我需要展示的最终结果。

Web WhatsApp发送文本和图片。

英文:

I'm try to send a message with whatsapp web url, right now i can send the message but just the text, this is my code and works.

&lt;a href=&quot;https://web.whatsapp.com/send?text= !!! This is my code  0H78RT !!! %0A https://mypublicUrl.com.co/documents?gad=1&quot;  
 rel=&quot;nofollow noopener&quot; 
 target=&quot;_blank&quot; 
 className=&quot;share-icon&quot;&gt;
 Share via Whatsapp
&lt;/a&gt;

web reuslt
Web WhatsApp发送文本和图片。

But i need add a imagen like this, I have been try to use &image="https://panda.png" at the end od the url, but this doesn't works. this is the final result I need to deployd.

Web WhatsApp发送文本和图片。

答案1

得分: 2

为了发送图片(和其他媒体),您需要在WhatsApp商业解决方案提供商中注册一个帐户。

其中最好的是360dialog

为了构建媒体消息、交互式消息甚至更多功能,我建议您注册get.chat Inbox

作为联合创始人和首席技术官,如果您想了解更多关于我们解决方案的信息,我很乐意回答任何问题。如果您有兴趣自行了解更多信息,这里还有一个API文档的链接。

英文:

In order to send images (and other media), you would need an account with one of the WhatsApp Business Solution Providers.

The best of them is 360dialog.

To build media messages, interactive messages and even more, I recommend you registering for get.chat Inbox.

I am a co-founder and CTO so I am open to answer any questions if you want to know more about our solution. Here is also a link to the API docs if you're interested in learning more by yourself.

huangapple
  • 本文由 发表于 2023年8月9日 05:25:53
  • 转载请务必保留本文链接:https://go.coder-hub.com/76863295.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定