flep wrote:I have tried "Use addthis instead of native X3 share", I also do not like the look of it. I like the X3 share style and I want the wechat and sina weibo services.
The beauty of the X3 sharing toolbar, is that you can add your own services:
The X3 toolbar can basically do anything that AddThis can do, but you need to configure custom services. This is basically what AddThis does, but it loads all the worlds services up front, and injects into a bloated interface.
A quick search showed me that Weibo's sharing endpoint is "
http://service.weibo.com/share/share.ph ... screenshot}}". Go to Panel
settings -> toolbar -> items, add this property:
{
"id": "weibo",
"icon": "weibo",
"label": "Share on Weibo",
"url": "http://service.weibo.com/share/share.php?url={{url}}&title={{text}}+|+{{description}}&pic={{image_url}}",
"color": "#E6162D"
},
PS! It's important to keep the comma's correct, else X3 will break! Only include the comma at the end if there is a property following your Weibo element!
flep wrote:But I need to add wechat
Do you have a working example of wechat sharing? It doesn't work from any desktops at least (even with wechat installed). Perhaps it works for some mobile phones, but wechat don't offer a public API endpoint for sharing.