Domanda

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>
È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top