Hi Recently I came to know about wechat mini program but as material is very less so I am unable to differentiate the official account and mini program.
I came to know that wechat mini doesnt have push notification but client wants to send the push notification from mini program.
The requirement is that mini program URL will be configured in official menu URL so when User will click to the link wechat will redirect to mini porgram when user clicks on any action then an API call should happen back to the offical program and send the push notification using union ID. Is my assumption right and is it possible?
If by "push notification", you mean sending template message to WeChat users. WeChat's mini-program does offer an API for that.
Here's an article on how to do it
And the other solution as you mentioned, using unionID to get user's official account openID to send a message would also work, but the process is way more complicated. Because currently, WeChat doesn't have a simple API that let you retrieve user's openID with unionID. Meaning you will have to store the relationship of unionID and openID by yourself.
Hope this helps. :D
I think you maybe need the customer service message function,here is the article from the official sites:
customer service message
Related
I need to send service alerts to wechat mini app users.
I have been trying to setup it for wechat mini app but some how not able to get exact document to integrate service or I am missing something somewhere.I have been following this document link.
https://developers.weixin.qq.com/miniprogram/dev/framework/server-ability/message-push.html#option-url
But they are asking for Token which I do not know to get.
Please someone help me to solve this problem.
Thank you in advance.
https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/template-message.html
I tried above thing but it is not suitable for my requirement.
In your question,there are following parts:
mini program user
your wechat mini program
wechat server
your own backend server
I suppose that you want to send messages to mini program user ,not receive messages from wechat server. The first link you give describes how to receive messages from wechat server. so it is not what you want.you provide the address and token to wechat server,and they can use the token to sign the request and you can verify the requsest if it is from wechat server.so the token you provide can be any valid string.you don't need to get it from somewhere
Second link is right ,and you can check this link to get the rest api address and request parameters.you must use your https backend server to request wechat rest api.
I am working on push notification module at server side that will send push notification to mobile device.
As I am backend developer only, I need some online portal or similar kind of service that generate fake device token and I as a developer can use that device token and send notification on it. So that portal will display me notification text and other payload info.
I try to search things online but no luck. I have also asked to many mobile developer and my colleagues for this. They don't have any idea for this.
I am not sure that this kind of service is available yet or not.
So thought, will try to ask genius people of this forum.
Thanks in advance.
I want to implement the Firebase Invite Feature, where a user can send a link which is unique to his/her friends and whenever the other receiver installs the app using this link my application recognize it and act accordingly.
Now I have searched quite a while about Firebase invite and I came to know that you can send the link only via email and android messages. However, I want the user to send via any other social networking app.
What approach should be followed while implementing this?
Firebase Invites is a UI layer to send dynamic links to other users through email. If you want to send the links with another service, you can create them directly using Firebase Dynamic Links.
I integrated Firebase Cloud Messaging with Unity successfully and I can receive usual messages when I send them from Firebase Console, but I need some extra things.
1 - How can I send my notification as a URL? I mean I want that when user touches the notification it opens the URL that I put in the value in FireBase Console.
2 - How I can send and show a picture and a custom icon in the notification?
Unfortunately, I can't find anything on the internet and official documents confused me.
Is there any way to gain these request only with FireBase SDK?
Thank you.
You have to handle all the messages from FCM manually to get all those features you are looking for. I mean you got the general implementation all the stuff, but you need the unique one. All the notification display settings and notification click handlers have to be implemented on the Android native side.
Probably you will find some interesting FCM asset in the Asset Store with nice notifications customization, not sure. But I would recommend you to surf the Asset Store, maybe there will be some useful packages.
I have developed an android application with the Parse push notification service and I can send notification from the Parse website.
How can I send push notifications through my own website using ASP.net? Is there any way?
I checked the Parse documentation but i get confused, I would really appreciate it if someone would help me.
Thanks
I ran into similar confusion. I wasn't even sure how to properly setup the user so that I could send a push notification directly to them. Then I found the following post:
Channels and Targeted Push Notifications
Note the last item under the Channels heading:
Most apps might find it useful to have a channel for each user so that
they can send messages to a user across all their devices and have
users follow others in the app.
So, now I know that I should subscribe each user to a channel that uniquely identifies the user (e.g., the 'bobsmith#foo.org' channel).
After I have subscribed the user to their channel, I can call Parse's REST API via my ASP.NET application. See Sending Pushes in the Parse REST API Developers Guide.
For an ASP.NET/C# example of how to submit a push notification check out this answer.