Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign up[Feature] sending formatted links / href tags #331
Comments
This comment has been minimized.
This comment has been minimized.
so it seems like wechat does something server side to filter and prevent sending of links. From official accounts you can send HREF tags no problem, and they arrive nicely formatted. |
This comment has been minimized.
This comment has been minimized.
using a native client, from the embedded browser you can "Send to chat" and it will provide a nicely formatted card. However from the web client you don't have this feature, or even a way to forward this card. |
dcsan
changed the title
[Feature] sending links
[Feature] sending formatted links / href tags
Mar 16, 2017
This comment has been minimized.
This comment has been minimized.
from an official account there were some problems with sending HREFs, eg you have to use single quotes for the URL part. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
When messages are sent from wechaty any URL links are just stripped out to plain text.
this is watching data that the web client (wechaty) gets back not just what is displayed. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
this is the content delivered when a link card is forwarded
|
This comment has been minimized.
This comment has been minimized.
Duplicated with #718 |
dcsan commentedMar 16, 2017
Is it possible to send formatted links from WeChaty?
from the web client if you send a link you will be able to view it yourself

it will send a nice link:

However on a native client it gets broken:

I'm assuming that on other clients (eg connected web clients from other users) it is broken too.