你好,我直接照抄的代码,我把这行
ao("picurl") = "https://ss1.baidu.com/6ONXsjip0QIZ8tyhnq/it/u=1632653074,1222564348&fm=80&w=179&h=119&img.JPEG" '图片
改成本地的图片,为什么发送不了
ao("picurl") ="c:\lzj\111.jpeg"
Dim
jo As New JObject
Dim ja As New JArray
jo("touser") = "ofjtFwBSZ5cNqTKLSKx2TNEAxfBI"
jo("msgtype") = "news"
For i As
Integer = 1
To
1
'可以一次发送最多8个图文消息,这里只发送了1个
Dim ao As New JObject()
ao("title") =
"特朗普提名保守派大法官"
'标题
ao("description")
= "特朗普在白宫提名尼尔·戈萨奇为美国最高法院大法官"
'描述
ao("url") = "http://news.ifeng.com/a/20170201/50640529_0.shtml"
'连接
ao("picurl") =
"https://ss1.baidu.com/6ONXsjip0QIZ8tyhnq/it/u=1632653074,1222564348&fm=80&w=179&h=119&img.JPEG"
'图片
ja.Add(ao)