微信小游戏主动转发onShareAppMessage没有反应

cocos creator版本1.9.1,微信开发者工具最新版本,appid也填了正确的,还没有发布过小游戏,在主动调用转发的时候没有反应代码如下wx.onShareAppMessage({
title: “test”,
});
调用其它的微信接口都可以,甚至在右上角的按钮showShareMenu被动转发都可以,就是主动转发的不行,最后添加了回调也没有反应,代码如下
wx.onShareAppMessage({
title: params.title,
imageUrl: params.imageUrl,
query: params.query,
success: function (res) {
console.log(“OnShareAppMessage success:”, res);
},
fail: function (res) {
console.log(“OnShareAppMessage fail:”, res);
},
});
请问有遇到过这样的问题吗?

主动调用分享是wx.shareAppMessage 这个API,不是wx.onShareAppMessage。

感谢,原来犯了个2逼的错误,想死,调半天。