Pushing an Authorization Change Notification on WeChat
Function
This interface is invoked to push a notification in POST mode to the authorization event receiving URL (entered by the third-party platform during creation) of the third-party platform on the WeChat server, after an official account or mini program authorizes, cancels the authorization, or updates the authorization of a third-party platform.
Usage Description
This interface needs to be configured on the WeChat open platform. For details, see Commissioning the Access Through the WeChat Channel.
Interface Authentication
For details, see https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/Before_Develop/creat_token.html.
Interface Prototype
|
Method |
POST |
|
|---|---|---|
|
URL |
https://{IP address}:{Port number}/social/with/wechat/receiveEvent |
{IP address}:{Port number} indicates the IP address and port number of the NSLB exposed externally. |
Request Parameters
For details, see https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/Before_Develop/authorize_event.html and https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/Before_Develop/component_verify_ticket.html.
Response Parameters
For details, see https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/Before_Develop/authorize_event.html and https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/Before_Develop/component_verify_ticket.html.
Example
For details, see https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/Before_Develop/authorize_event.html and https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/Before_Develop/component_verify_ticket.html.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot