用户在关注微信公众号后,怎么才能向用户自动发送他的openid呢?

小程序 文章 2021-02-09 09:21 594 0 全屏看文

AI助手支持GPT4.0

用户在关注微信公众号后,怎么才能向用户自动发送他的openid呢?How can the user automatically send his openid to the user after paying attention to the WeChat official account?

用户在关注微信公众号后,怎么才能向用户自动发送他的openid呢?

API:微信公众号

组件:微信公众号

问题:用户在关注微信公众号后,怎么才能向用户自动发送他的openid呢?

附言:还请各位能够帮忙看看这个功能如何实现,谢谢各位了。

API: official account official account of WeChat: WeChat public address: how can users send their openid to users automatically after they are concerned about WeChat's official account? Postscript: please help to see how this function is realized. Thank you.

回答:

青寒:

开启服务器配置,

处理用户关注事件,

关注事件中,向用户发送一条消息,内容就是你们服务器刚获取到的用户Openid

刘栋:

openid是后台用来辨别用户身份的,后台直接或间接从微信服务器上获得,不需要用户提供,没必要发给用户吧

CitizenFour:

-EOF-

AI助手支持GPT4.0