Bosima WeChat Page Sharing

0

本插件通过集成微信提供的JS-SDK,从而实现自定义网页分享的内容,包括Url、标题、图片和内容。 1、本插件简单灵活,分享的内容可全部从

Version
Last updated
Active installations
WordPress Version
Tested up to
Rating
Total ratings
Tag
This plugin is outdated and might not be supported anymore.

Description

本插件通过集成微信提供的JS-SDK,从而实现自定义网页分享的内容,包括Url、标题、图片和内容。

1、本插件简单灵活,分享的内容可全部从页面提取,也可在后台自定义。
2、目前已实现首页、分类页、文章页、标签页、搜索页、存档页以及单独页面的分享。
3、分享目标支持微信朋友、微信朋友圈、QQ、QQ空间。
4、分享标题、图片、描述等内容首先从自定义模板提取,如果未设置模板则从页面提取,如果页面上提取不到则根据当前页面内容自动生成。
5、从页面提取时,各个分享内容的来源:标题来源于html->head->title,描述从html->head->meta[name=’description’]提取,图片取正文中的第一张图。
6、分享url目前只能是当前url,未提供自定义设置功能。

Dependency

WeChat JS-SDK

https://res.wx.qq.com/open/js/jweixin-1.2.0.js
This plugin depends on the WeChat JS-SDK, which is a remote JS file and provided by WeChat.
It provides initialization method of WeChat services, and provide some functions, including share to friends, share to circle of friends.
The JS-SDK is a service.

myip.fireflysoft.net

http://myip.fireflysoft.net
This plugin depends on the myip.fireflysoft.net, which can return the outbound IP of the user server.
The exit IP needs to be added to the WeChat IP whitelist.