收藏
回答

调用获取已发布的消息列表,获取的梳理为0?

调用获取已发布的消息列表,获取的数量为0,已确定公众号已发布当中有图文内容,但是返回的参数如下:{"item":[],"total_count":0,"item_count":0}

部分代码:

WXHandle wXHandle = new WXHandle();

string init = wXHandle.GetInit(Common.getConfigValue("WX_ConfigID"));

string url = "https://api.weixin.qq.com/cgi-bin/freepublish/batchget?access_token=" + init;

string json = "{\"offset\":\"0\",\"count\":\"20\",\"no_content\":\"1\"}";

string result = RequestHelper.HttpPost(url, json);

回答关注问题邀请回答
收藏

2 个回答

  • Hlxuan.
    Hlxuan.
    11-15

    目前【获取已发布的消息列表(/cgi-bin/freepublish/batchget)】接口只能获取到未通知(未开启群发通知)的内容,你可以登录MP后台发表记录查看;

    全部、已通知(开启群发通知)的内容暂不支持获取,官方没有提供相关接口。

    11-15
    有用 1
    回复
  • 智能回答 智能回答 本次回答由AI生成
    11-15
    有用
登录 后发表内容