The URL sent during QQ chat will automatically bring out the title and picture. How is this achieved? _html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:20:50
Original
1775 people have browsed it

For example, if you send the URL of qq.com news, NetEase news, or Youku video page, the title and picture will be automatically brought out.
How is this achieved?


Reply to discussion (solution)

Sofa. . I also want to solve the problem of LZ. . . . Please come with an expert

I don’t know exactly how to do qq

But the principle is to judge that it is a url (of course it can also be filtered, it is only effective for the urls of certain websites), read that The page of the website, and then display the page
The principle is the same as the website thief program, collection, etc.

It is not clear how qq does it specifically

But the principle is to judge that it is a url (of course also Can be filtered (only valid for URLs of certain websites), read the page of that website, and then display the page
The principle is the same as the website thief program, collection, etc.
This is the same as Sina Weibo, upload You can also directly enter the URL of the video, and then you can watch it. How to do it is really... difficult! I guess they did it internally!

Simple html ajax is more difficult, the server-side program is very simple, and the client-side using socket or web browser framework is also very simple

Is it an OPEN, as long as the URL If the page source code contains a specific tag, can this function be implemented when quoting?

I’m here to watch the first floor, it’s so awesome, and it’s a fucking appraisal. I’ve finished the appraisal, he’s a foodie who wastes food!
As for the question in this post, I have an answer, so I won’t tell you!
Dear readers, don’t blame me for having a bad mouth. It’s the first floor who has a bad mouth. As for why, ask him himself!

u010500112 You are so mean, you have to change it! I really didn't bully you!
Your parents should know that they can scold me more harshly than me!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template