How to get WeChat official account information sent by a group via API
Recently, a customer demanded: how to get information that was bulk sent by official WeChat account through API.
WeChat's official response is that it's not possible to get information sent by group through API, and specific reason is not clear. As shown below
Unable to get bulk articles from a public account
In fact, before draft box is upgraded, it can be obtained through interface for obtaining graphic materials. Because each group post will basically be saved as graphic material.
Get graphic material
But recently, WeChat official account has updated draft function, that is, graphic material does not exist, only draft function, and graphic information released by default will not be saved. in general, if draft is not manually saved, it will be saved in draft box, and will not be saved in previous graphic materials, so information that was sent in groups cannot be received.
However, draft and published information can be retrieved via API. Here is a special explanation of difference between group mailing and publishing. Everyone knows news of a group mailing. Subscribing users will be notified and will also be able to see it in historical pictures and texts. They can also be searched in Search, but there will be no published information. will not appear in historical news and search, and of course it will not take number of releases.
So if you want API to be able to receive bulk published content, you may want to save it as a draft every time before mass publishing, and then retrieve contents of draft. boxing via API. Of course, if you collect articles from other people's official WeChat accounts, you need to collect articles from Sogou-WeChat's official accounts, provided that official accounts are well known and enabled by Sogou. As shown below
Search for a public number
However, this method may be incomplete. You may need to scan latest article every day.