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 solve the problem that the domain name URL is blocked by Wechat to stop access

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

This article mainly introduces how to solve the problem of domain name URL being intercepted and stopped by WeChat. It has certain reference value. Interested friends can refer to it. I hope you will gain a lot after reading this article. Let Xiaobian take you to understand it together.

How to solve the domain name URL is blocked by WeChat stop access?

Due to the strict restrictions on WeChat, domain names are inadvertently judged to be induced to share.

Therefore, here is a WeChat interception detection interface, which can effectively prevent domain name URLs from being intercepted and stopped by WeChat, and detect WeChat domain name security in real time.

WeChat domain name detection interface from https://wx.horocn.com/product-domain-check.html

Note: Remember to replace the API Token below. After logging in, view this value in User Center-Member Information

//Your API Token, you can find $apiToken = "*********www.qq.com******https://wx.horocn.com/api/v1/wxUrlCheck? api_token=%s&req_url=%s", $apiToken, $reqUrl);$ch = curl_init($url);curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);$responseBody = curl_exec($ch);$responseArr = json_decode($responseBody, true);if (json_last_error() != JSON_ERROR_NONE) { echo "JSON parsing interface result error\n"; return;}if (isset($responseArr['code']) && $responseArr['code'] == 0) { //interface returned correctly // $responseArr ('data ')('status') Value range: ok, blocked // ok means normal, blocked means blocked printf("status of test address ( %s) is: %s\n", $reqUrl, $responseArr <$'data ']<$'status']);} else { printf("interface exception: %s\n", var_export($responseArr, true));} Thank you for reading this article carefully. I hope that Xiaobian's "How to solve domain name URL interception and stop accessing by WeChat" article will be helpful to everyone. At the same time, I hope that everyone will support it more. Pay attention to the industry information channel. More relevant knowledge is waiting for you 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