After reading the document, it seems that it does not work. Please enlighten me. After reading the document, it seems that it does not work.
Please enlighten me.
Reply content:
After reading the document, it seems that it does not work.
Please enlighten me.
There is no good way. according to the user information, the city is very inaccurate. many users fill in the hometown information, not the current city information. The user's IP address is not pushed during event-related push.
Yes .. Follow the push to get user information, which contains the city, but also requires the user to fill in the information .... Another way is to report the geographical location to the user. However, if this is triggered when you cannot pay attention to it, the user may disagree.
Yes, but it is a little troublesome.
When the system receives the pushed information in the background, it determines whether it is a user's concern.
If the user follows the message, the user's openid is obtained based on the received information.
Obtain user information from the server based on the openid
Return different content based on the city field in the user information.
Note: To receive the message push, you must respond immediately within five seconds. If no response is received, multiple identical messages will be sent, causing repeated processing on your side.
When you are concerned, you can receive user information in the server background (how to obtain it? See the document) you can reply different content to the user based on the city in the user information.