Commenters add IP address attribution information

Original link: https://yunfanch.com/note/1951.html

62bfb37e1d64b070663e25e4.png

Recently, Baidu, Weibo, Douyin, Zhihu, and Xiaohongshu have all launched the comment IP territorial function, which is displayed in provinces/regions in China and in countries abroad, and users cannot turn off this function.

Weibo has always been committed to maintaining a healthy and orderly discussion atmosphere and ensuring users’ rights to obtain real and effective information at the first time. In order to reduce bad behaviors such as impersonating the parties to hot events, malicious rumors, and rubbing traffic, and to ensure the authenticity and transparency of the content, the website launched the user’s “IP territorial” function in March this year.

Douyin Security Center official WeChat message, in order to maintain a real and orderly discussion atmosphere, reduce bad behaviors such as impersonating a party to a hot event, malicious rumors, and rubbing traffic. Douyin plans to display the account IP location on the personal homepage and other locations. The relevant functions will be tested at the end of April, and will be gradually launched in other scenarios according to the test situation. The account IP location displayed on the platform is the network location when the last article or comment was posted. It is displayed in the province (region, city) domestically, and displayed in the country (region) overseas. The account IP location is subject to the information provided by the operator, and related display is not supported. Turn it on or off manually.

I have time to toss these days, and decided to keep up with this trend. With this function, my blog is built by Typecho. At present, two methods can be tested: one is to call the APIs of websites such as Baidu, Pacific, and Taobao. The problem is It affects the loading speed of the website; the second is to use the local database, which is much faster.
So the second one I use utilizes the naive IP database.

The specific effect is as follows

This article is reproduced from: https://yunfanch.com/note/1951.html
This site is for inclusion only, and the copyright belongs to the original author.

Leave a Comment