This project has moved and is read-only. For the latest updates, please go here.

How to get HTML instead of plain text (Status.Text)

Jul 4, 2013 at 3:38 PM
I was using Status.Text and binding it to a ListView, however as its is plain text the tiny URLs are not clickable or anchor tags. Id there anyway to get the html content with the anchor tags intact ?

Thanks, John
Jul 4, 2013 at 3:48 PM
Hi John,

There's an Entities property that contains metadata for various parts of a tweet, including the Start and End character positions. One of those is UrlEntities, which you can use to determine where the URLs are in the tweet. With that, you can write code to arrange the entities and work backwards through the tweet to transform the text into HTML.