Micro letter public, Python SDK
2016-08-23
0 0 0
no vote
Other
Earn points
Application background SDK supports WeChat official account and enterprise's uplink message and OAuth interface. This document and SDK assume that users already have the basic knowledge of WeChat official account development and have the ability to find relevant interface details through WeChat official account and enterprise number document. Key technologies need to be configured with several kinds of parameters, and several parameters can be found in the relevant pages of developers who are in the official account management background. If the first three parameters are not configured, they need to be imported when calling the process method. secret_ Token: WeChat official account callback token app_ ID: application of WeChat official account IDencoding_ aes_ Key: (optional), the secret of encryption, for example, your official account is not encrypted and no need to fill in. unsupport_ Txt: (optional), a text message that automatically responds to the user when a message of an unsupported type is received. welcome_ Txt: (optional), the default response text message for new follow. Then, you need to implement each on of Wx application one by one_ Function. Different types of uplink messages and events have corresponding on_ XXX function on_ All on of XXX function_ The XXX functions are listed as follows: on_ Text, response to user text on_ Link, in response to the user's uplink link_ Image in response to the user's uplink image_ Voice to respond to the user's uplink voice_ Video, in response to the user's uplink video_ Location, responding to the user's uplink geographic location_ Subscribe to respond to user concerns_ Unsubscribe to respond to the user's unsubscribe event_ Click to respond to user-defined menu event_ Scan, responding to user scanning QR code event on_ location_ Update to respond to the user's geographic location change event_ View, in response to the user click the custom menu to access the web page event_ scancode_ pushon_ scancode_ waitmsgon_ pic_ sysphotoon_ pic_ photo_ or_ albumon_ pic_ weixinon_ location_ select
python
公众
Related Source Codes
Word memorization software
0
0
no vote
CWT Python example
0
0
no vote
STFT example
0
0
no vote
Chinese Speech Recognition
0
0
no vote
python-ela
0
0
no vote
No comment