Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to realize Wechat push alarm through serverchan

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "how to realize WeChat push alarm through serverchan." Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let Xiaobian take you to learn "how to realize WeChat push alarm through serverchan"!

There are several ways to push alarm information to WeChat before:

1, through the enterprise public number to achieve--charges:

2. Open the email on WeChat platform to remind you through QQ mailbox;

3. API of third-party alarm platform, which is generally charged;

However, when looking at the documentation recently, I found that serverchan application, its principle belongs to the third kind, but it is free, and the operation steps are very simple. First look at the effect:

Serverchan configuration steps Login: log in to the website with GitHub account, you can get a SCKEY (in the "Send message" page) Binding: click "WeChat push", scan the code and follow at the same time you can complete the binding Send message: send a GET request to http://sc.ftqq.com/SCKEY.send, you can receive messages in WeChat

Sending a message is very simple, just send a GET or POST request to the following URL: sc.ftqq.com/SCKEY.send

Accepts two parameters:

text: Message title, maximum length 256, required. desp: Message content, up to 64Kb, can be empty, support MarkDown.

The simplest way to send a message is to enter the following URL in the address bar and enter it, for example:

https://sc.ftqq.com/SCKEY.send? text= congratulations & desp = www.361way.com site is still good

You can call the URL directly with curl, or you can use shell to make a simple function package, for example:

send(){key=your key idtitle= Operation and Maintenance Path Availability Monitoring content=www.361way.com temporarily unavailable, check curl "http://sc.ftqq.com/$key.send? text=$title&desp=$content" >/dev/null 2>&1 &}

When in use, send calls directly.

The official serverchan page also provides examples of php calls. The get method itself is not complex to invoke in any language. It is easy to interface in any language.

Sererchan also offers a one-to-many delivery service, PushBear, but with a daily cap of 1000 deliveries.

At this point, I believe everyone has a deeper understanding of "how to realize WeChat push alarm through serverchan." You may wish to actually operate it! Here is the website, more related content can enter the relevant channels for inquiry, pay attention to us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report