huanz / wechat-mp-hack Goto Github PK
View Code? Open in Web Editor NEW微信公众平台模拟登录自动群发图文消息
微信公众平台模拟登录自动群发图文消息
公众号版本更新,除了群发还有发布功能,建议能同步在程序中加入发布功能
试了好几个公众号,还是一样有问题。没有测试ok过,是不是后web的微信后台要退出登录:?
Originally posted by @huanz in #8 (comment)
如题,发现用operate_appmsg接口上传的图文消息只有文字。
I see code
return (0, _request4.default)({
url: `${_config2.default.api.operate_appmsg}?t=ajax-response&sub=${appMsgId ? 'update' : 'create'}&type=10&token=${this.data.token}`,
headers: {
'Referer': `${_config2.default.api.appmsg}?t=media/appmsg_edit&action=edit&type=10&isMul=1&isNew=1&token=${this.data.token}`
},
form: params
When use puppeteer to create type10 msg, should use ctrl +v to copy the html page into the editor. But puppeteer does not support the keyboard comb. So resort to you .
{"base_resp":{"err_msg":"default","ret":64007,"msg":"系统繁忙,请稍后重试"}}
请问大佬这是个什么错误?
您好!我在win7上安装了npm8.11。
在运行npm i wechat-mp-hack --save时,提示:
npm WARN deprecated [email protected]: ReDoS vulnerability parsing Set-Cookie
https://nodesecurity.io/advisories/130
npm WARN @1.0.0 No description
npm WARN @1.0.0 No repository field.
我的问题是,const Wechat = require('wechat-mp-hack');
const API = new Wechat('公众号账号', '公众号密码');
这两行命令在哪个界面输入运行呢,我是小白,感谢大家的指点!
请问在package.json中 "dev": "node ./run.js", run.js没有找到,会报错,这个怎么解决下呢,大佬
我觉得这个项目挺好玩的,已经用于实战,定时自动化推送一些内容集合。
但在长久地保持登录态这件事上,有点小麻烦。我本来是设置定时任务,每一个小时获取一次图文列表,希望这样起到心跳的作用,一直保持在线。但其实这种方法只能坚持一天就失效了。
所以我在想是不是出现互动类的操作更容易保持登录态。所以我就想,每小时“上传图文消息后再删除”,这样来保持登录态。不过目前项目似乎没有删除素材接口?如果不删除的话,会导致很多多余信息累积。
你好,这个代码是怎么操作的哦,运行了,没什么反应,就在目录下面多了一个upload文件夹,可以出个操作视频不哦,是不是像php一样有界面哦
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.