By current design, it'll require a link to be the first element in the text.
It'd be more useful to be able to preview a link that is surround by other text as well.
Some questions needed to be answer is:
What if there's more than one link ?
Show only first link ?
Show only last link ?
Show all the links ?
As single large message from server ?
Each individual preview is inside it own message ?
Shall we also support a link that's not in tag ?
How can we know the boundary of link in this case ? Space terminated ?
By current design, it'll require a link to be the first element in the text. It'd be more useful to be able to preview a link that is surround by other text as well.
Some questions needed to be answer is:
Potential code area to be affected: