Joke Collection Website - Bulletin headlines - Customize the card link shared by WeChat. Customize the title and thumbnail of the link.

Customize the card link shared by WeChat. Customize the title and thumbnail of the link.

Update: The sharing rules have been adjusted since WeChat version 6.5.5, which is aimed at sharing web pages that are not connected to the official account. You must connect to the WeChat certified official account! (Those who do not have a public account or are not certified can go to 138tool tool)

After checking the WeChat public platform, the following method can only generate thumbnails when long pressing 'Forward' in WeChat collections and collections; and The 'Send to Friends' and 'Share to Moments' sharing functions on the page are disabled. .

--------------------------

1. Title (the text in the red box in the picture above)

Generation standard: automatically obtain the title of the current page, that is, the content in the title

Custom method: just set the page title, you can use: document.title = "title content", dynamic setting .

2. Small thumbnail (picture pointed by the red arrow in the picture above)

Generation standards (the following standards are from the WeChat public platform):

Note: If If there is no picture of this standard on the page, the no-picture style at arrow 1 will be displayed.

Custom method: Place a square img with a width of 80% of the screen width at the front of the body tag. (If you don’t want to display it, you can hide it. WeChat can still bring it up as a small thumbnail)

---------------------