Joke Collection Website - Public benefit messages - How to use the message interface of WeChat public platform

How to use the message interface of WeChat public platform

Click Apply in the application message interface and fill in the name of the person in charge truthfully? 、? Mobile phone number and email address, fill in url and token, in which token can be filled in by developers at will to generate signature.

After users who access the public platform submit information, we will request the filled Url in the form of GET request with four parameters:? Signature? —? Wechat encrypted signature; ? Time stamp? —? Time stamp? ; Right now? —? Random number? ; echostr? —? Random string. Developers check the legality of URL access by checking the signature.

When three messages push ordinary WeChat users to send messages to public accounts, the public platform will post the messages to the filled website (short messages and geographical location messages are now supported).

In the received POST packet, in addition to sender/receiver information, time and other information:

A text message receives text content.

Pictures, voices and videos will all receive media ID, and developers need to use "Upload and Download Multimedia Files" in basic support to obtain media files.

Geographic location information will receive geographic location latitude and longitude information.

The link message will receive the link address.

Please note that event push will also be pushed to the URL filled by the developer as a message, but the MsgType of event push is generally event.