Nagging
Because the default Tencent Public Welfare 404 http://www.qq.com/404/ It is suitable for individual pages and has less customization functions. What I want is the core data inside, so under the guidance of @ s5s5cn, I made this thing Appendix Quotes of Big Boss If the website directly calls JS on the official website of commonweal 404 in the simplest way, see: http://www.qq.com/404/
The key data of this JS are all in https://qzone.qq.com/gy/404/data.js In this JS
This is a JSONP
In this JSONP, the character after var jsondata=is a JSON
PHP has a way to parse JSON, so you can use the interface
The website only needs to embed a simple code in its own page, and can quickly spread the information of missing children through the Internet, thus improving the probability of finding missing children. The information of missing children comes from the Baby Go Home Subnet.
Use chestnuts
Address: https://cun.isoyu.com/
Preview:
code
Interface address: https://api.isoyu.com/gy/
https://api.isoyu.com/gy/data.js
Note: Tencent Commonweal 404 should be known by many people and has achieved great success in the independent developer circle! But I think this public service page should not be limited to 404 pages, but a separate section of advertising space. This is the real public welfare behavior! Now almost all websites are HTTPS (Hypertext Transfer Protocol Secure) secure hypertext transfer protocol, while Tencent is still in the http era, and Tencent Commonweal 404 is difficult to meet the existing needs. So after doing this, the website only needs to embed a simple code in its own page to quickly spread the information of missing children through the Internet, thus improving the probability of finding missing children. The information of missing children comes from the Baby Go Home Subnet. Static resources support ssl. The last information was changed on April 14, 2018, with 232 pieces of information in total.
Attachment: Communication is hope! If you want to add a similar effect to your website, I can provide you with technical support free of charge for the sake of public welfare. I hope that all the babies in the world can stay with their parents forever
API Details https://api.isoyu.com/
Call code:
Related introductory articles
It's all big shots
Thank you again
Mu Ruoxi [Front end] How to embed treasure home data under Tencent public welfare in 404 pages
September The website adds Baby Home API | Tencent Public Welfare 404 core data
Code block [Promotion] Embed Tencent public welfare baby home information on the website page
Rain falls and withers [Public Welfare] Tencent Public Welfare 404
Boke112 navigation Communication is hope! Baby Home/Tencent Commonweal 404 core data API
A small life Ji Changxin API adds Baby Home | Tencent Public Welfare 404 core data
This article is written by Ji Changxin Author, article address: https://blog.isoyu.com/archives/gongyiapi.html
use Knowledge Sharing Attribution 4.0 International License Agreement. Unless the reprint/source is indicated, they are all original or translated by this website. Please sign your name before reprinting. Last editing time: May 6, 2018 at 09:30 am