jweixin-1.6.0 分享没有报错,无法弹出自定义的图标、标题、描述?
<script src="http://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script> <script> wx.config({ debug: false, appId: '<?php echo $wxconfig["appId"];?>', timestamp: <?php echo $wxconfig["timestamp"];?>, nonceStr: '<?php echo $wxconfig["nonceStr"];?>', signature: '<?php echo $wxconfig["signature"];?>', jsApiList: [ 'updateAppMessageShareData', 'updateTimelineShareData' ] }); wx.ready(function () { var options = { title: 'GlobalParagons', link: 'http://www.globalparagons.com/', imgUrl: 'http://www.globalparagons.com/themes/default/public/news/images/logo.png', //必须使用绝对路径 desc: 'GlobalParagons', success: function(){ console.info('分享成功!'); }, cancel: function(){ console.info('取消分享'); } } wx.updateAppMessageShareData(options); wx.updateTimelineShareData(options); }); </script>