Skip to content

获取点赞数、评论的方式已经失效 #23

@jizhask

Description

@jizhask

原先获取评论信息的接口,现在返回如下内容:

<title>验证</title> <style> body{ margin:0; padding:10px; background-color:#E1E0DE; font:12px/18px "Lucida Grande", "Lucida Sans Unicode", Helvetica, Arial, Verdana, sans-serif; } p{ font-size:16px; line-height:1.3em; color:#000; text-align:center; font-weight:bold; text-shadow:0px 1px 0px #EFEFED; margin:0px; margin-top:20px; margin-bottom:18px; } </style>
<body>
							<p>请在微信客户端打开链接。</p>				<script>
		(function(){

			document.addEventListener('WeixinJSBridgeReady', function onBridgeReady() {
				var appId = '',
					imgUrl = ''
					link = 'http://mp.weixin.qq.com/mp/conference/default/share',
					title = '失效的验证页面'
					desc = '你暂无权限查看此页面内容。',
					content = '#微信分享#,你暂无权限查看此页面内容。';

				
				WeixinJSBridge.on('menu:share:appmessage', function(argv){
					WeixinJSBridge.invoke('sendAppMessage',{
										  "appid":appId,
										  "img_url":imgUrl,
										  "img_width":"640",
										  "img_height":"640",
										  "link":link,
										  "desc":desc,
										  "title":title
										  }, function(res) {})
				});
				
				WeixinJSBridge.on('menu:share:timeline', function(argv){
					WeixinJSBridge.invoke('shareTimeline',{
										  "img_url":imgUrl,
										  "img_width":"640",
										  "img_height":"640",
										  "link":link,
										  "desc": desc,
										  "title":title
										  }, function(res) {
										  });
				});

				
				var weiboContent = '';
				WeixinJSBridge.on('menu:share:weibo', function(argv){
					WeixinJSBridge.invoke('shareWeibo',{
										  "content":content,
										  "url":link,
										  }, function(res) {
										  });
				});
				
				WeixinJSBridge.call('hideOptionMenu');
			}, false);
		})();
	</script>
</body>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions