Home  >  Article  >  Backend Development  >  WeChat development issues

WeChat development issues

WBOY
WBOYOriginal
2016-12-01 00:25:45794browse

Currently WeChat keyword custom replies are all triggered by users manually entering keywords
That is for users who do not want to switch the input field. Can I include a link in the message I give him to help him trigger this keyword? (The premise is that a pure PHP code file does not involve the contents of the database)
WeChat development issues

Reply content:

Currently WeChat keyword custom replies are all triggered by users manually entering keywords
That is for users who do not want to switch the input field. Can I include a link in the message I give him to help him trigger this keyword? (The premise is that a pure PHP code file does not involve the contents of the database)
WeChat development issues

I didn’t understand your question
How did you provide the connection and customize the menu?
...

No. The complete link is sent from the client.

Try the custom menu of certification number

It is not possible to click the link directly
But if your official account has been authenticated, you can do it through the user clicking the Event of "Customize Menu"

Yes, you can add keyword parameters to the url (you also need to get the user's openid to specify who clicked the link and who the message should be sent to, the JS SDK should have it), and then actively send messages to the user, but I remember It turns out that when I was doing WeChat development, users were required to interact within 48 hours (by sending a message or clicking on a custom menu, not sure if it has changed?) before they could actively send messages (with corresponding interfaces). After all, it was suspected of harassing users.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn