集成微信分享时,分享到朋友圈,只能够弹出一个对话框然后分享到微信朋友圈, 而无法 跳转到微信界面去分享到朋友圈。 这种情况 怎么解决。 在官网确实没找到方案
我的代码如下
WXWebpageObject webpage = new WXWebpageObject();
webpage.webpageUrl = url;
WXMediaMessage msg = new WXMediaMessage(webpage);
msg.title = title;
msg.description = description;
msg.setThumbImage(ImageUtil.getInstance().getCache(imgUrl, 100, 100));
SendMessageToWX.Req req = new SendMessageToWX.Req();
req.transaction = buildTransaction("appdata");
req.message = msg;
req.scene = isTimeLine ? SendMessageToWX.Req.WXSceneTimeline : SendMessageToWX.Req.WXSceneSession;
iwxapi.sendReq(req);
It seems like they all use one page now, and then click to follow it