Question

Whenever I try to tweet a message containing a custom URL to Twitter using oAuth, the message is posted as plain text including all HTML tags For example I want show the message as:

this is mysample tweet.
and this is my link: <a href ="www.example.com">my web address</a>
Était-ce utile?

La solution

Twitter doesn't support rich text, it is plain text only. You especially can't set the link text for a URL. The only possibility which could come close is to use the cards feature for supported clients.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top