我使用这段代码在whatsapp上共享我的网页的动态文本,缺点是它使用纯文本。
是否有一个选项可供添加,以便读取格式为的文本
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<div class='divblock'>
This is the first line.
This is the second line.
</div>
<button id='
嘿,伙计们,我想从服务器共享图像到whatsapp,但是它给出了一个错误图像共享失败了,您能告诉我,我可以直接将图像服务器共享到whatsapp吗?我做了什么错事?
这是我的密码
Intent shareIntent = new Intent();
Uri imageUri = Uri.parse("http://stacktoheap.com/images/stackoverflow.png"); // here is my selected url
shareIntent.setAction(Intent.ACTION_SE
我想从一个角度的网站发送到WhatsApp的图像。
我知道如何通过创建一个带有href的锚点将文本消息发送到WhatsApp,如下所示;
<a href="https://api.whatsapp.com/send?text=Hi, this is a test" target="_blank">Send by WhatsApp</a>
但我不知道如何将相同或相似的图片从我的Angular网站发送到WhatsApp。
我怎样才能做到这一点呢?
我在使用intent分享图片时遇到了一个小问题。这就是我的情况,当我使用下面的代码时,我想分享一个带有标题(标题可以是链接或文本)的图像
Intent shareIntent = new Intent(Intent.ACTION_SEND);
shareIntent.setAction(Intent.ACTION_SEND);
shareIntent.setType("text/plain");
shareIntent.setType("image/*");
Bi
我正在用json从我的WordPress网站上创建图像应用程序,我使用的是快速,我想用我的应用程序在whatsapp上共享图像,目前我尝试了这个代码--它可以工作,但是只有图像名我想从图像url共享图像,这有可能吗?
这是我的密码
let urlWhats = "whatsapp://app"
if let urlString = urlWhats.addingPercentEncoding(withAllowedCharacters:CharacterSet.urlQueryAllowed) {
if let whatsapp