动态消息createActivityId接口调用提示无权限
{ "errcode" :48001, "errmsg" : "api unauthorized hint: [S6PuDA0006k199!]" } |
API: https://api.weixin.qq.com/cgi-bin/message/wxopen/activityid/create?access_token=MY_TOKEN
帐号ID:gh_d74d1bae78ee
微信已经进行企业认证,请问是什么原因?
官方已经修复
修改进度和修改完成的参数是不一样的。各位调用的时候注意一下
修改进度
curl -d '{ "activity_id": "YOUR_ACTIVITY_ID", "target_state":0 ,"template_info": { "parameter_list": [{ "name": "member_count", "value": "2" }, { "name": "room_limit", "value": "3" }] }}' 'https: //api .weixin.qq.com /cgi-bin/message/wxopen/updatablemsg/send ?access_token=ACCESS_TOKEN |
修改状态为完成
curl -d '{ "activity_id": "YOUR_ACTIVITY_ID", "target_state": 1,"path":"/pages/home/index", "template_info": { "parameter_list": [ { "name": "path", "value": "pages/home/index" }, { "name": "version_type", "value": "develop" }] } }' https: //api .weixin.qq.com /cgi-bin/message/wxopen/updatablemsg/send ?access_token=ACCESS_TOKEN |
- 在群中如果需要开启提醒,需要用户点击分享的卡片才会出现:“开启提醒”