Greasy Fork is available in English.

Miaotixing

Send message to user's cellphone, using WeChat, SMS(China mainland only), Voice Call(China mainland only).

Dette scriptet burde ikke installeres direkte. Det er et bibliotek for andre script å inkludere med det nye metadirektivet // @require https://update.greasyfork.org/scripts/388327/723386/Miaotixing.js

Forfatter
chaopi
Versjon
1.0
Lagd
09.08.2019
Oppdatert
09.08.2019
Lisens
I/T


Guide users to subscribe WeChat Official Account "喵提醒" (Qrcode: https://miaotixing.com/welcome_assets/images/qrcode.jpg) and create a remind, return "喵码"(miaocode) to you, then you can send message to them.

== Parameter ==
miaocode: When users create a remind, they will get a "喵码", put "喵码" in this parameter.
text: You can put some additional information here.
callback: If you want to get the request results.

== Example ==
You are providing ticket-snatching services. A user created a remind named "I got a ticket!" and tell you his remind's "喵码" is tr12345. When you find a ticket for this user, you can use function:
miaotixing("tr12345", "Found a ticket at Setp.13 8:00am", function(data){console.log(data);});
If successed, the user's cellphone will receive a message:

【喵提醒】I got a ticket!
Found a ticket at Setp.13 8:00am