سؤال

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>
هل كانت مفيدة؟

المحلول

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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top